[lxc-devel] [lxc-ci/master] images/centos: Add sd_mod to initrd on 8-Stream
monstermunchkin on Github
lxc-bot at linuxcontainers.org
Tue Jul 21 21:08:06 UTC 2020
A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 303 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20200721/4e1d7957/attachment.bin>
-------------- next part --------------
From 380a6078a63fee0069b3c87fa3deec37c90f07b6 Mon Sep 17 00:00:00 2001
From: Thomas Hipp <thomas.hipp at canonical.com>
Date: Tue, 21 Jul 2020 23:07:39 +0200
Subject: [PATCH] images/centos: Add sd_mod to initrd on 8-Stream
Signed-off-by: Thomas Hipp <thomas.hipp at canonical.com>
---
images/centos.yaml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/images/centos.yaml b/images/centos.yaml
index d589508..bab0f40 100644
--- a/images/centos.yaml
+++ b/images/centos.yaml
@@ -365,6 +365,14 @@ files:
- vm
releases:
- 8
+
+- path: /etc/dracut.conf.d/lxd.conf
+ generator: dump
+ content: |-
+ add_drivers+="virtio_scsi virtio_console sd_mod"
+ types:
+ - vm
+ releases:
- 8-Stream
- generator: fstab
More information about the lxc-devel
mailing list