2017-05-28 15:41:02 -07:00
|
|
|
#System language
|
|
|
|
lang en_US
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Language modules to install
|
|
|
|
langsupport en_US
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#System keyboard
|
|
|
|
keyboard us
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#System mouse
|
|
|
|
mouse
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#System timezone
|
|
|
|
timezone America/Los_Angeles
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Root password
|
2017-05-28 16:38:17 -07:00
|
|
|
rootpw ubuntu
|
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Initial user
|
|
|
|
user --disabled
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Reboot after installation
|
|
|
|
reboot
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Use text mode install
|
|
|
|
text
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Install OS instead of upgrade
|
|
|
|
install
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Use CDROM installation media
|
|
|
|
cdrom
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#System bootloader configuration
|
|
|
|
bootloader --location=mbr
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Clear the Master Boot Record
|
|
|
|
zerombr yes
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Partition clearing information
|
|
|
|
clearpart --all --initlabel
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Disk partitioning information
|
2017-05-28 16:38:17 -07:00
|
|
|
part /boot --fstype ext2 --size=500
|
|
|
|
part pv.01 --size=1 --grow
|
|
|
|
volgroup vg_root pv.01
|
2017-05-28 17:27:05 -07:00
|
|
|
logvol / --vgname=vg_root --name=lv_root --size 1 --grow
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#System authorization infomation
|
|
|
|
auth --useshadow --enablemd5
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Network information
|
|
|
|
network --bootproto=dhcp --device=eth0
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Firewall configuration
|
|
|
|
firewall --disabled
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
#Do not configure the X Window System
|
|
|
|
skipx
|
|
|
|
|
|
|
|
%packages
|
|
|
|
openssh-server
|
|
|
|
vim
|
|
|
|
htop
|
2017-05-28 16:38:17 -07:00
|
|
|
|
2017-05-28 15:41:02 -07:00
|
|
|
%post
|
|
|
|
# Add arbitrary shell code to execute in the installer environment below here
|