Skip to content

Commit 71b138a

Browse files
committed
fix: add some random kargs trying to get luks/dm to work
1 parent 7486660 commit 71b138a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

snow_first_setup/scripts/install-to-disk

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,13 @@ mount "$ROOT_DEVICE" "$MOUNT" || { echo "Failed to mount root partition ($ROOT_D
100100
mkdir "${MOUNT}/boot"
101101
mount "${DEVICE}1" "${MOUNT}/boot" || { echo "Failed to mount EFI partition (${DEVICE}1) to ${MOUNT}/boot"; exit 21; }
102102

103-
bootc install to-filesystem --composefs-backend --bootloader systemd --skip-finalize --source-imgref docker://"$1" "$MOUNT"
103+
bootc install to-filesystem --composefs-backend --bootloader systemd --skip-finalize --source-imgref docker://"$1" \
104+
--karg rd.auto \
105+
--karg rd.lvm=1 \
106+
--karg rd.dm=1 \
107+
--karg rd.md=1 \
108+
--karg rd.luks=1 \
109+
"$MOUNT"
104110

105111
# unmount everything - but maybe we will want to keep it mounted for doing further setup.
106112
umount "${MOUNT}/boot"

0 commit comments

Comments
 (0)