[lxc-devel] [lxc-ci/master] images/fedora: Fix root= kernel cmdline
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Tue Mar 3 08:27:12 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 357 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200303/1b3dab85/attachment.bin>
-------------- next part --------------
From 2b79ae4533821886d23cf9b9b39d7129dd6e9c69 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 3 Mar 2020 09:26:42 +0100
Subject: [PATCH] images/fedora: Fix root= kernel cmdline
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
images/fedora.yaml | 1 +
1 file changed, 1 insertion(+)
diff --git a/images/fedora.yaml b/images/fedora.yaml
index 69941b0..5d1f47d 100644
--- a/images/fedora.yaml
+++ b/images/fedora.yaml
@@ -243,6 +243,7 @@ actions:
set -eux
grub2-mkconfig -o $(readlink -f /etc/grub2-efi.cfg)
+ sed -i "s#root=[^ ]*#root=/dev/sda2#g" /etc/grub2-efi.cfg
# Regenerate initramfs
kver=$(ls /boot/initramfs-*.img | sed -r 's#.*initramfs-(.+)\.img#\1#')
More information about the lxc-devel
mailing list