- # Variables
- mnt="/mnt/root" # mountpoint for the new root filesystem
- hostname="somehost.example.com"
- disk="/dev/vda" # find with: lsblk --list
- disk1=$disk"1" # "p1" for nbd 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
|