a19c509430
--make-pxe-live target generate live squashfs and initrd for pxe boot. Also generates pxe config template. --make-ostree-live is used for installations of Atomic Host. Additionally to --make-pxe-live it ensures using deployment root instead of physical root of installed disk image where needed. Atomic installation needs to be virt installation with /boot on separate partition (the only way supported by Anaconda currently). Content of boot partition is added to live root fs so that ostree can find deployment by boot configuration.
27 lines
904 B
Plaintext
27 lines
904 B
Plaintext
# Settings for unattended installation:
|
|
lang en_US.UTF-8
|
|
keyboard us
|
|
timezone America/New_York
|
|
zerombr
|
|
clearpart --all --initlabel
|
|
rootpw --plaintext atomic
|
|
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=cloud-init,cloud-init-local,cloud-final,cloud-config,docker-storage-setup
|
|
|
|
# Using ostree repo included in installation iso. Respective ostreesetup command is included here.
|
|
# The included kickstart file with the command is created during installation iso compose.
|
|
%include /usr/share/anaconda/interactive-defaults.ks
|
|
|
|
# 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
|
|
%post
|
|
cat /dev/null > /etc/fstab
|
|
%end
|