Chapter 11. Bare Metal Installation150
mouse
#System timezone
timezone America/New_York
#Root password
rootpw --iscrypted password
#Initial user
user --disabled
#Reboot after installation
reboot
#Use text mode install
text
#Install OS instead of upgrade
install
# Use network installation
url --url=http://10.223.110.231/baremetal/ubuntu1204
#System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr yes
#Partition clearing information
clearpart --all --initlabel
autopart
#Disk partitioning information
part swap --size 512
part / --fstype ext3 --size 1 --grow
#System authorization infomation
auth --useshadow --enablemd5
#Network information
network --bootproto=dhcp --device=eth0 --hostname=baremetal-test --noipv6
#Firewall configuration
firewall --enabled --trust=eth0 --ssh
#Do not configure the X Window System
skipx