Created
September 23, 2016 22:57
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 | |
reboot | |
lang en_US.UTF-8 | |
keyboard us | |
timezone --utc America/Los_Angeles | |
selinux --enforcing | |
zerombr | |
clearpart --all --initlabel | |
bootloader --location=mbr --boot-drive=sda | |
reqpart --add-boot | |
#part /boot --size=300 --fstype="ext4" --ondisk=sda | |
part pv.01 --grow --ondisk=sda | |
volgroup atomicos pv.01 | |
logvol / --size=20000 --fstype="xfs" --name=root --vgname=atomicos | |
logvol swap --fstype swap --name=lv_swap --vgname=atomicos --size=2048 | |
services --disabled="cloud-init,cloud-config,cloud-final,cloud-init-local" --enabled="systemd-timesyncd" | |
ostreesetup --osname="centos-atomic-host" --remote="centos-atomic-host" --url="file:////run/install/repo/content/repo" --ref="centos-atomic-host/7/x86_64/standard" --nogpg | |
network --device=link --bootproto=static --ip=192.168.1.101 --netmask=255.255.255.0 --gateway=192.168.1.1 --nameserver=192.168.1.1 | |
user --name=atomic --groups=wheel --password=atomic | |
%post --erroronfail | |
rm -f /etc/ostree/remotes.d/centos-atomic-host.conf | |
ostree remote add --set=gpg-verify=true centos-atomic-host 'http://mirror.centos.org/centos/7/atomic/x86_64/repo' | |
%end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment