#version=RHEL7 # System authorization information auth --enableshadow --passalgo=sha512 # Install OS instead of upgrade install # Reboot after installation reboot --eject # Run the Setup Agent on first boot firstboot --enable ignoredisk --only-use=sda # Keyboard layouts # old format: keyboard us # new format: keyboard --vckeymap=us --xlayouts='us' # System language lang en_US.UTF-8 # Network information network --bootproto=dhcp --activate network --hostname=unused-4-126.brq.redhat.com # OSTree setup ostreesetup --osname="rhel-atomic-host" --remote="rhel-atomic-host" --url="file:///install/ostree" --ref="rhel-atomic-host/7/x86_64/standard" --nogpg # Root password rootpw --plaintext redhat # System services services --disabled="cloud-init,cloud-config,cloud-final,cloud-init-local" --enabled="chronyd" # System timezone timezone America/New_York --isUtc --ntpservers=clock.util.phx2.redhat.com,clock02.util.phx2.redhat.com # System bootloader configuration bootloader --location=mbr --timeout=3 --boot-drive=sda autopart --type=plain # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel %post --erroronfail rm -f /etc/ostree/remotes.d/rhel-atomic-host.conf %end %post --erroronfail rm -f /etc/ostree/remotes.d/*.conf echo 'unconfigured-state=This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.' >> $(ostree admin --print-current-dir).origin %end %packages chrony %end