Kickstart

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.