Browse Source

updated variables

Toastie 6 months ago
parent
commit
200fb133a5
1 changed files with 11 additions and 8 deletions
  1. 11 8
      bootstrap-bookworm.sh

+ 11 - 8
bootstrap-bookworm.sh

@@ -25,20 +25,23 @@
 # sudo /installer/bootstrap-bullseye.sh postinstall  # run postinstall in the new system
 
 # Variables
-mnt="/mnt/root"  # mountpoint for the root filesystem during installation
+mnt="/mnt/root"                  # mountpoint for the new root filesystem
 hostname="somehost.example.com"
-partition="mbr-single"  # mbr-single or efi-crypt
-disk="/dev/vda"  # lsblk --list
-disk1=$disk"1"
-disk0=$disk"p1"  # efi partion, only relevant if partion="efi"
-netDev="eth0"    # ip link
-netAddress="203.0.113.66/24"
+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*
 netGateway="203.0.113.1"
 netBroadcast="203.0.113.255"
 netDNS1="192.0.2.10"
 netDNS2="198.51.100.10"
 netNTP="pool.ntp.org"
-extraPackages=""
+pwdAdmin=""                      # "" blank for auto-generation
+pwdRoot=""                       # "" blank for auto-generation
+extraPackages="qemu-guest-agent"
 
 [ -f ./config.sh ] && source config.sh