# Variables mnt="/mnt/root" # mountpoint for the new root filesystem hostname="somehost.example.com" partition="single-mbr" # set "efi" to skip partitioning and install grub-efi 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"