ubuntu-kickstart
                                
                                 ubuntu-kickstart copied to clipboard
                                
                                    ubuntu-kickstart copied to clipboard
                            
                            
                            
                        Commands for network install.
Hello,
This a request post.
Kickstart files are configured to install from cdrom. Is it possible to add Http installation examples also?
Getting error when trying to use the below config. I am using cobbler to network install the ubuntu-18.04.3-server-amd64.iso
#
#Kickstart template for Ubuntu
#Platform: x86-64
# Load the minimal server preseed off cdrom
preseed preseed/url=http://$http_server/cobbler/links/$distro_name/preseed/ubuntu-server-minimal.seed
# I noticed a difference between 'ubuntu-server-minimal' and
# 'ubuntu-server-minimalvm' is the non-vm one omits the following lines.
# Well the 'standard' task installs silly things like a full 'bind9' server
# for caching dns.  Recommended to use a server that is designed just as a
# caching dns server like 'unbound' or 'pdns-recursor'
preseed --owner tasksel tasksel/skip-tasks string standard
# OPTIONAL: Change hostname from default 'preseed'
# If your DHCP hands out a hostname that will take precedence over this
# see: https://bugs.launchpad.net/ubuntu/+source/preseed/+bug/1452202
#preseed netcfg/hostname string minimal-vm
# Use local proxy
# Setup a server with apt-cacher-ng and enter that hostname here
#preseed mirror/http/proxy string http://my-local-cache:3142/
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone America/New_York
#Root password
rootpw --disabled
#Initial user (user with sudo capabilities)
user ubuntu --fullname "Ubuntu" --password ChangeMe
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Installation media
url --url http://$http_server/ertino/links/$distro_name
#Change console size to 1024x768x24
preseed debian-installer/add-kernel-opts string "vga=792"
#System bootloader configuration
bootloader --location=mbr

But if I use the below file, it works abolutely fine. Ubuntuans.seed
Thanks, Mohan
I haven't tested this but in seed files when they have d-i you can replace with preseed in kickstart files.  So what may work:
replace this line:
preseed preseed/url=http://$http_server/cobbler/links/$distro_name/preseed/ubuntu-server-minimal.seed
with this line
preseed live-installer/net-image string http://$http_server/cobbler/links/$distro_name/install/filesystem.squashfs
I'll try and get around to testing it but no guarantees when. You can try to pulling up the install log with control-alt-f4 to see if it gives any detailed information about why that file was invalid