2015-02-26 03:20:42 +00:00
|
|
|
# PXE-to-Live Atomic: PXE boot directly into a running Atomic Host
|
|
|
|
# https://fedoraproject.org/wiki/Changes/AtomicHost
|
|
|
|
|
|
|
|
lang en_US.UTF-8
|
|
|
|
keyboard us
|
|
|
|
timezone America/New_York
|
|
|
|
zerombr
|
|
|
|
clearpart --all --initlabel
|
|
|
|
rootpw --lock --iscrypted locked
|
|
|
|
user --name=none
|
|
|
|
bootloader --timeout=1
|
|
|
|
network --bootproto=dhcp --device=link --activate
|
|
|
|
# We are only able to install atomic with separate /boot partition currently
|
|
|
|
part / --fstype="ext4" --size=6000
|
|
|
|
part /boot --size=500 --fstype="ext4"
|
|
|
|
shutdown
|
|
|
|
services --disabled=docker-storage-setup,network
|
2015-03-01 18:32:10 +00:00
|
|
|
services --enabled=NetworkManager,sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
2015-02-26 03:20:42 +00:00
|
|
|
|
2015-09-02 21:12:19 +00:00
|
|
|
ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/23/ --ref=fedora-atomic/f23/x86_64/docker-host
|
2015-02-26 03:20:42 +00:00
|
|
|
|
|
|
|
%post
|
|
|
|
|
|
|
|
# Ensure the root password is locked, we use cloud-init
|
|
|
|
passwd -l root
|
|
|
|
userdel -r none
|
|
|
|
|
|
|
|
# We copy content of separate /boot partition to root part when building live squashfs image,
|
|
|
|
# and we don't want systemd to try to mount it when pxe booting
|
|
|
|
cat /dev/null > /etc/fstab
|
|
|
|
%end
|