Created
March 9, 2014 07:34
-
-
Save tnaoto/9444119 to your computer and use it in GitHub Desktop.
openstack用のks
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
install | |
cdrom | |
lang en_US.UTF-8 | |
keyboard us | |
network --bootproto=dhcp | |
rootpw --iscrypted $1$damlkd,f$UC/u5pUts5QiU3ow.CSso/ | |
firewall --enabled --service=ssh | |
authconfig --enableshadow --passalgo=sha512 | |
selinux --disabled | |
timezone --utc Asia/Tokyo | |
bootloader --location=mbr | |
clearpart --all --initlabel | |
part /boot --fstype=ext4 --grow --maxsize=1024 --size=1024 | |
part / --fstype=ext4 --grow --maxsize=46000 --size=4600 | |
part swap --grow --maxsize=4096 --size=4096 | |
part pv.008005 --grow --size=200 | |
volgroup cinder-volumes --pesize=4096 pv.008005 | |
text | |
skipx | |
zerombr | |
auth --useshadow --enablemd5 | |
firstboot --disabled | |
reboot | |
%packages --nobase | |
@core | |
%end | |
%post | |
/usr/bin/yum -y install sudo | |
/usr/sbin/groupadd veewee | |
/usr/sbin/useradd veewee -g veewee -G wheel | |
echo "veewee"|passwd --stdin veewee | |
echo "veewee ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers.d/veewee | |
chmod 0440 /etc/sudoers.d/veewee | |
%end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment