- # Variables
- mnt="/mnt/root" # mountpoint for the new root filesystem
- hostname="somehost.example.com"
- disk="/dev/vda" # lsblk --list
- disk1=$disk"1"
- netDev="eth0" # ip link
- netAddress="203.0.113.66/24"
- netGateway="203.0.113.1"
- netBroadcast="203.0.113.255"
- netDNS1="192.0.2.10"
- netDNS2="198.51.100.10"
- netNTP="pool.ntp.org"
|