From 04d684e8ebab3c5e4ef82a1322265462cc2c3683 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Wed, 30 Oct 2019 22:27:12 +0000 Subject: [PATCH] Revert "create_disk: Drop the root= and rootflags= kargs by default" This reverts commit 99f2ed566851d84af7f40d6b368b727e318a733f. This breaks rebooting, we need to ensure the sysroot mount unit runs on subsequent boots too. --- src/create_disk.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/create_disk.sh b/src/create_disk.sh index f59cbbfe2e..e9cd8596ce 100755 --- a/src/create_disk.sh +++ b/src/create_disk.sh @@ -209,7 +209,7 @@ if [ "${remote_name}" != NONE ]; then fi ostree pull-local "$ostree" "$ref" --repo rootfs/ostree/repo $remote_arg ostree admin os-init "$os_name" --sysroot rootfs -allkargs='$ignition_firstboot' +allkargs='root=/dev/disk/by-label/root rootflags=defaults,prjquota rw $ignition_firstboot' allkargs="$allkargs $extrakargs" kargsargs="" for karg in $allkargs