Browse Source

updated replicating bootstrap script

Toastie 6 months ago
parent
commit
d32adf468f
1 changed files with 11 additions and 12 deletions
  1. 11 12
      config.sh.template

+ 11 - 12
config.sh.template

@@ -1,18 +1,17 @@
-# Variables
-mnt="/mnt/root"                  # mountpoint for the new root filesystem
+mnt="/mnt/root"                     # mountpoint for the new root filesystem
 hostname="somehost.example.com"
-kernel="linux-image-cloud-amd64" # alternative: linux-image-amd64
-partition="mbr-single"           # mbr-single or efi-crypt
-disk="/dev/vda"                  # find with: lsblk --list
-disk0=$disk"p1"                  # efi partion, only relevant if partion="efi"
-disk1=$disk"1"                   # "p1" for nbd or nvme mounts
-netDev="eth0"                    # find with: ip link
-netAddress="203.0.113.66/24"     # "" blank for dhcp on e*
+kernelPkg="linux-image-cloud-amd64" # alternative: linux-image-amd64
+partition="mbr-single"              # mbr-single or efi-crypt
+disk="/dev/vda"                     # find with: lsblk --list
+disk0=$disk"p1"                     # efi partion, only relevant if partion="efi"
+disk1=$disk"1"                      # "p1" for nbd or nvme mounts
+netDev="eth0"                       # find with: ip link
+netAddress="203.0.113.66/24"        # "" blank for dhcp on e*
 netGateway="203.0.113.1"
 netBroadcast="203.0.113.255"
 netDNS1="192.0.2.10"
 netDNS2="198.51.100.10"
 netNTP="pool.ntp.org"
-pwdAdmin=""                      # "" blank for auto-generation
-pwdRoot=""                       # "" blank for auto-generation
-extraPackages="qemu-guest-agent"
+pwdAdmin=""                         # "" blank for auto-generation
+pwdRoot=""                          # "" blank for auto-generation
+extraPackages="qemu-guest-agent"    # additional packages to install