Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (44 sloc) 1.07 KB
#Generated by Kickstart Configurator
#platform=x86
#System language
lang en_US
#Language modules to install
langsupport en_US
#System keyboard
keyboard us
#System mouse
mouse
#System timezone
timezone --utc Asia/Shanghai
#Root password
rootpw zaq12wsx
#Initial user
user openstack --fullname "openstack" --password zaq12wsx
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
#Use Web installation
url --url http://192.168.1.1/ubuntu
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
#Disk partitioning information
part /boot --fstype ext4 --size 400
part swap --size 2000
part / --fstype ext4 --size 1 --grow --maxsize 5000000
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0
#Firewall configuration
firewall --disabled --trust=eth0 --http --ftp --ssh
#Do not configure the X Window System
skipx
%post --interpreter=/bin/bash
echo "abc" >> /tmp/run.sh
Something went wrong with that request. Please try again.