summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--raspi_master.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/raspi_master.yaml b/raspi_master.yaml
index 9a8cb3f..41b1a90 100644
--- a/raspi_master.yaml
+++ b/raspi_master.yaml
@@ -144,7 +144,7 @@ steps:
- chroot: /
shell: |
sed -i 's/^/console=__SERIAL_CONSOLE__ /' /boot/firmware/cmdline.txt
- sed -i 's/.dev.mmcblk0p2/LABEL=RASPIROOT/' /boot/firmware/cmdline.txt
+ sed -i 's#root=/dev/mmcblk0p2#root=LABEL=RASPIROOT#' /boot/firmware/cmdline.txt
# TODO(https://github.com/larswirzenius/vmdb2/issues/24): remove once vmdb
# clears /etc/resolv.conf on its own.