Skip to content

Instantly share code, notes, and snippets.

@Zuhayer
Created July 19, 2016 05:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save Zuhayer/fa3dd501e96f47ef5b5e54c68eee6332 to your computer and use it in GitHub Desktop.
Save Zuhayer/fa3dd501e96f47ef5b5e54c68eee6332 to your computer and use it in GitHub Desktop.
My Ubuntu 16.04 Kickstart file (x64)
#Generated by Kickstart Configurator
#platform=AMD64 or Intel EM64T
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone Asia/Karachi
#Root password (password:toor)
rootpw --iscrypted $1$UHBe2omd$BsD/nfZ0aCp0h53r4lpaw1
#Initial user (password:resu)
user user --fullname "user" --iscrypted --password $1$nLW79kgr$mxQvGAFNVNSVJMFHqB1NR/
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use CDROM installation media
cdrom
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part / --fstype ext4 --size 1 --grow
part swap --recommended
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled
#X Window System configuration information
xconfig --depth=32 --resolution=1280x1024 --defaultdesktop=GNOME --startxonboot
@qubusp
Copy link

qubusp commented Apr 17, 2018

part / --fstype ext4 --size 1 --grow 
part swap --recommended ``` 

does that mean it takes all the space on the disk?

Copy link

ghost commented Jun 4, 2018

@qubusp Yep it means it expands the partition to fill available space on the disk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment