add support for ignition in configs
Signed-off-by: Christian Goll <cgoll@suse.com>
This commit is contained in:
committed by
Jonathon Anderson
parent
b8641b8569
commit
917f191abe
1
overlays/persistent/ignition.json.ww
Normal file
1
overlays/persistent/ignition.json.ww
Normal file
@@ -0,0 +1 @@
|
||||
{{ IgnitionJson }}
|
||||
@@ -28,6 +28,9 @@ WWROOT="${WWROOT:-initramfs}"
|
||||
if [ "${WWROOT}" = "initramfs" ]; then
|
||||
echo "WWROOT=${WWROOT}: using initial rootfs and invoking ${WWPRESCRIPTS}..."
|
||||
exec "${WWPRESCRIPTS}"
|
||||
elif [ "${WWROOT}" = "persistent" ] ; then
|
||||
echo "WWROOT=${WWROOT}: booting from DISK"
|
||||
exec "${WWPRESCRIPTS}"
|
||||
elif [ "${WWROOT}" = "ramfs" -o "${WWROOT}" = "tmpfs" ]; then
|
||||
echo "WWROOT=${WWROOT}: setting up new ${WWROOT} rootfs (/newroot)..."
|
||||
mkdir /newroot
|
||||
|
||||
Reference in New Issue
Block a user