[Fedora-spins] [spin-kickstarts] cloud-atomic-pxetolive: New file

Colin Walters walters at fedoraproject.org
Fri Feb 27 02:26:07 UTC 2015


commit d2984eca0c69a56fd91d46e440ed584a8354059e
Author: Colin Walters <walters at verbum.org>
Date:   Wed Feb 25 22:20:42 2015 -0500

    cloud-atomic-pxetolive: New file
    
    For the Atomic Host PXE-to-Live feature.

 fedora-cloud-atomic-pxetolive.ks |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/fedora-cloud-atomic-pxetolive.ks b/fedora-cloud-atomic-pxetolive.ks
new file mode 100644
index 0000000..48dd31c
--- /dev/null
+++ b/fedora-cloud-atomic-pxetolive.ks
@@ -0,0 +1,30 @@
+# 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
+ 
+ostreesetup --nogpg --osname=fedora-atomic --remote=fedora-atomic --url=http://kojipkgs.fedoraproject.org/mash/atomic/22/ --ref=fedora-atomic/f22/x86_64/docker-host
+ 
+%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


More information about the spins mailing list