Skip to content

Instantly share code, notes, and snippets.

@djkoloski
Last active September 22, 2017 18:43
Show Gist options
  • Save djkoloski/def691dc3cf00bf55d3491c2d841104f to your computer and use it in GitHub Desktop.
Save djkoloski/def691dc3cf00bf55d3491c2d841104f to your computer and use it in GitHub Desktop.
install
cdrom
lang en_US.UTF-8
keyboard us
network --onboot yes --device eth0 --bootproto dhcp --noipv6
network --onboot yes --device eth1 --bootproto static --ip MachineConfig.internalIP --netmask 255.255.255.0
network --onboot yes --device eth2 --bootproto static --ip MachineConfig.internalIP --netmask 255.255.255.0
rootpw --iscrypted $6$.0EgXCh6xwtiRQNp$6cCQBRg3ND48P.ENJz7ise2saoDBSwWxAxI/Cb8Ced6ZYcj0A4M9ilEbNIJsScsKcIXhYWUlRn0aIzWuHNK/E.
firewall --service=ssh --service=http --service=https
authconfig --enableshadow --passalgo=sha512
selinux --enforcing
timezone --utc America/New_York
bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"
clearpart --all --drives=sda
part /boot --fstype ext4 --size=500
part pv.008002 --grow --size=1
volgroup vg_frontend --pesize=4096 pv.008002
logvol / --fstype=ext4 --name=lv_root --vgname=vg_frontend --grow --size=1024 --maxsize = 51200
logvol swap --name=lv_swap --vgname=vg_frontend --grow --size=819 --maxsize=819
repo --name="CentOS" --baseurl=cdrom:sr0 --cost 100
%packages --nobase
@core
%end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment