Ubuntu 20.04 LTS & Netplan

Assume you got a fresh Machine with DHCP … Ubuntu with DHCP Config cat /etc/netplan/01-netcfg.yaml # This is the network config written by 'subiquity' network: ethernets: ens192: dhcp4: true version: 2 and you’d like to switch to Static IP, ask google how todo it an give try: Static IP with Netplan # This is the network config written by 'subiquity' network: version: 2 ethernets: ens192: addresses: - gateway4: nameservers: addresses: - 8.

Ubuntu Kickstart

How to Kickstart a Ubuntu Installation … edit dhcpd.conf host ubuntu { hardware ethernet 4E:E5:80:xx:xx:xx; fixed-address x.x.x.x; filename "ubuntu/pxelinux.0"; next-server x.x.x.200; } restart dhcpd prepare env on tftp server (x.x.x.200) mkdir -p /tftpboot/ubuntu/ cd /tftpboot/ubuntu/ ftp http://archive.ubuntu.com/ubuntu/dists/bionic-updates/main/installer-amd64/current/images/netboot/netboot.tar.gz tar xfz netboot.tar.gz kickstart cfg put the following file in a webroot available from the client machine cat <<'EOF' > /var/www/htdocs/ks.cfg #Generated by Kickstart Configurator #platform=AMD64 or Intel EM64T #System language lang en_US #Language modules to install langsupport en_US #System keyboard keyboard ch #System mouse mouse #System timezone timezone Europe/Zurich #Root password (here 123456) rootpw --iscrypted $1$r6te7M.