• Create accessible WebDir on Webserver
    Name: setup1
    Dir: /var/www/html/inst/grub-kickstart/
cd /var/www/html/inst/grub-kickstart/

wget -O - http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-i386/current/images/netboot/ubuntu-installer/i386/initrd.gz > /var/www/html/inst/grub-kickstart/u1604.i386.initrd.gz
wget -O - http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux > /var/www/html/inst/grub-kickstart/u1604.i386.linux

vi grub.cfg 
------------
set timeout=3
menuentry 'Ubuntu 16.04 Workstation Kickstart' --class ubuntu --class gnu-linux --class gnu --class os {
        insmod gzio
        insmod part_msdos
        insmod ext2
        set root='(hd0,msdos1)'
        linux /boot/u1604.i386.linux  ks=http://setup1.mybuehl.ch/inst/ks/u1604-i386-kde-workstation.ks
        initrd /boot/u1604.i386.initrd.gz
}
------------

vi install.sh 
------------
#!/bin/bash

export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

ls /boot/grub.cfg.bak || cp -av /boot/grub.cfg /boot/grub.cfg.bak

wget http://setup1/inst/grub-kickstart/u1604.i386.initrd.gz -O /boot/u1604.i386.initrd.gz
wget http://setup1/inst/grub-kickstart/u1604.i386.linux -O /boot/u1604.i386.linux
wget http://setup1/inst/grub-kickstart/grub.cfg -O /boot/grub/grub.cfg

sync
sleep 1
reboot -f
------------

Now you can kickstart as you like.

wget -O - http://setup1/inst/grub-kickstart/install.sh | bash