Last active
July 27, 2017 10:31
-
-
Save franzramadhan/8fa519f4e9d2c662880277486df0252a to your computer and use it in GitHub Desktop.
Demox Kickstart Installation File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#version=RHEL7 | |
# System authorization information | |
auth --enableshadow --passalgo=sha512 | |
# Use network installation | |
url --url="http://10.32.15.190/yum/CentOS/7.2.1511/os/x86_64/" | |
# Run the Setup Agent on first boot | |
firstboot --enable | |
zerombr | |
ignoredisk --only-use=sda,sdb | |
# Keyboard layouts | |
keyboard --vckeymap=us --xlayouts='us' | |
# System language | |
lang en_US.UTF-8 | |
# Network information | |
network --bootproto=dhcp --noipv6 --activate | |
network --hostname=demox.1rstwap.com | |
# Root password | |
rootpw --iscrypted $6$RMPTNRo5P7zulbAR$ueRnuz70DX2Z8Pb2oCgfXv4qXOjkdZlaMnC.CoLheFrUF4BEjRIX8rF.2QpPmj2F0a7iOBM3tUL3tyZNKsDp50 | |
# System services | |
services --enabled="chronyd" | |
# Senops Username Creation | |
user --groups=wheel --name=senops --password=$6$WTy5oGCIcmMHjdJD$ht9E0h0lVKLAQ6TDLrq1TwMr8FUP0ZWB8sLDS9oBDSlmv/SG32wehlu0Yia0K2E2loiZY4JDxtlsIiszrLU5r1 --iscrypted --gecos="senops" | |
# System timezone | |
timezone Etc/GMT --isUtc | |
# Disable selinux and firewall | |
selinux --disabled | |
firewall --disabled | |
# System bootloader configuration | |
bootloader location=mbr | |
# Partition clearing information | |
clearpart --all --initlabel | |
# Disk partitioning information | |
part raid.13 --fstype="mdmember" --ondisk=sdb --size=4096 | |
part raid.19 --fstype="mdmember" --ondisk=sda --size=1 --grow | |
part raid.12 --fstype="mdmember" --ondisk=sda --size=4096 | |
part raid.20 --fstype="mdmember" --ondisk=sdb --size=1 --grow | |
raid /boot --device=boot --fstype="xfs" --level=1 raid.12 raid.13 | |
raid pv.demox --device=pv00 --fstype="lvmpv" --level=1 raid.19 raid.20 | |
volgroup vg_demox pv.demox | |
logvol swap --fstype="swap" --size=16384 --name=lv_swap --vgname=vg_demox | |
logvol /data --fstype="xfs" --size=153600 --name=lv_home --vgname=vg_demox | |
logvol /www --fstype="xfs" --size=51200 --name=lv_www --vgname=vg_demox | |
logvol /app --fstype="xfs" --size=102400 --name=lv_app --vgname=vg_demox | |
logvol /archive --fstype="xfs" --size=51200 --name=lv_archive --vgname=vg_demox | |
logvol /var --fstype="xfs" --size=51200 --name=lv_var --vgname=vg_demox | |
logvol / --fstype="xfs" --size=1 --grow --name=root --vgname=vg_demox | |
%packages | |
@compat-libraries | |
@core | |
%end | |
%post | |
%end | |
reboot |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
default menu.c32 | |
prompt 0 | |
timeout 300 | |
MENU TITLE 1rstwap PXE Menu | |
LABEL CentoS 7 - Physical Software RAID - x86_64 Kickstart | |
MENU LABEL CentoS 7 - Physical Software RAID - x86_64 Kickstart | |
KERNEL images/centos/x64/7/vmlinuz | |
append initrd=images/centos/x64/7/initrd.img method=http://10.0.1.50/yum/CentOS/7/os/x86_64/ inst.ks=http://10.0.1.50/yum/CentOS/ks/centos7.ks | |
LABEL CentoS 7 - iSMSC Manager - x86_64 Kickstart | |
MENU LABEL CentoS 7 - iSMSC Manager - x86_64 Kickstart | |
KERNEL images/centos/x64/7/vmlinuz | |
append initrd=images/centos/x64/7/initrd.img method=http://10.0.1.50/yum/CentOS/7/os/x86_64/ inst.ks=http://10.0.1.50/yum/CentOS/ks/centos7-ismscm.ks |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment