1
0
mirror of https://github.com/kairos-io/osbuilder.git synced 2025-05-02 21:26:33 +00:00

Rename modepair.enable to install-mode

Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
Itxaka 2024-01-30 14:39:07 +01:00
parent a482917a27
commit e5cded4980
3 changed files with 3 additions and 3 deletions
tests/fixtures
tools-image

View File

@ -31,7 +31,7 @@ spec:
fi fi
menuentry "install" --class os --unrestricted { menuentry "install" --class os --unrestricted {
echo Loading kernel... echo Loading kernel...
$linux ($root)/boot/kernel.xz cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset nodepair.enable $linux ($root)/boot/kernel.xz cdroot root=live:CDLABEL=COS_LIVE rd.live.dir=/ rd.live.squashimg=rootfs.squashfs console=tty1 console=ttyS0 rd.cos.disable vga=795 nomodeset install-mode
echo Loading initrd... echo Loading initrd...
$initrd ($root)/boot/rootfs.xz $initrd ($root)/boot/rootfs.xz
} }

View File

@ -2,6 +2,6 @@
set dns 8.8.8.8 set dns 8.8.8.8
ifconf ifconf
kernel ${RELEASE_URL}/${VERSION}/${ISO_NAME}-kernel root=live:${RELEASE_URL}/${VERSION}/${ISO_NAME}.squashfs initrd=${ISO_NAME}-initrd rd.neednet=1 ip=dhcp rd.cos.disable netboot nodepair.enable config_url=${config} console=tty1 console=ttyS0 rd.live.overlay.overlayfs ${cmdline} kernel ${RELEASE_URL}/${VERSION}/${ISO_NAME}-kernel root=live:${RELEASE_URL}/${VERSION}/${ISO_NAME}.squashfs initrd=${ISO_NAME}-initrd rd.neednet=1 ip=dhcp rd.cos.disable netboot install-mode config_url=${config} console=tty1 console=ttyS0 rd.live.overlay.overlayfs ${cmdline}
initrd ${RELEASE_URL}/${VERSION}/${ISO_NAME}-initrd initrd ${RELEASE_URL}/${VERSION}/${ISO_NAME}-initrd
boot boot

View File

@ -19,7 +19,7 @@ set initrd $ARTIFACT_NAME-initrd
set rootfs $ARTIFACT_NAME.squashfs set rootfs $ARTIFACT_NAME.squashfs
# set config https://example.com/machine-config # set config https://example.com/machine-config
# set cmdline extra.values=1 # set cmdline extra.values=1
kernel \${url}/\${kernel} initrd=\${initrd} ip=dhcp rd.cos.disable root=live:\${url}/\${rootfs} netboot nodepair.enable config_url=\${config} console=tty1 console=ttyS0 \${cmdline} kernel \${url}/\${kernel} initrd=\${initrd} ip=dhcp rd.cos.disable root=live:\${url}/\${rootfs} netboot install-mode config_url=\${config} console=tty1 console=ttyS0 \${cmdline}
initrd \${url}/\${initrd} initrd \${url}/\${initrd}
boot boot
EOF EOF