mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-26 13:10:35 +00:00
33 lines
836 B
Cheetah
33 lines
836 B
Cheetah
# Kickstart file
|
|
|
|
install
|
|
url --url replace_url
|
|
key --skip
|
|
lang en_US.UTF-8
|
|
network --bootproto=static --ip=replace_ip --netmask=replace_netmask --gateway=replace_gateway --nameserver=replace_nameserver --hostname=replace_hostname
|
|
rootpw replace_rootpw
|
|
firewall --disabled
|
|
authconfig --enableshadow --enablemd5
|
|
selinux --enforcing
|
|
timezone --utc America/New_York
|
|
bootloader --location=mbr --driveorder=sda --append=" crashkernel=auto"
|
|
reboot
|
|
key --skip
|
|
|
|
# Define zFCP channel devices
|
|
# The order determines the drive name, such as sda, sdb, etc.
|
|
replace_root_device
|
|
|
|
# Removes partitions from the devices
|
|
clearpart --all --drives=sda
|
|
|
|
# Create root partition and swap space
|
|
part / --fstype=ext3 --size=100 --grow --ondisk=sda
|
|
part swap --recommended --ondisk=sda
|
|
|
|
# Install software packages
|
|
%packages
|
|
replace_software_packages
|
|
|
|
%post
|