From 4bc7b872d7e7567130284906991c86908ab3c78e Mon Sep 17 00:00:00 2001 From: JUN JIE NAN Date: Sat, 30 Mar 2024 18:24:58 +0800 Subject: [PATCH] images: Fix missing whitespaces around dracut add_drivers+= Or the dracut will report the space missing error and the drivers planning added would not be added. Signed-off-by: JUN JIE NAN (cherry picked from commit 922d11bef762b59e0507df7291e52b2011cf805d) Signed-off-by: Din Music License: Apache-2.0 --- images/centos.yaml | 4 ++-- images/fedora.yaml | 2 +- images/openeuler.yaml | 2 +- images/springdalelinux.yaml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/images/centos.yaml b/images/centos.yaml index f3b1599c4..bf0bec74c 100644 --- a/images/centos.yaml +++ b/images/centos.yaml @@ -300,7 +300,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_pci virtio_console" + add_drivers+=" virtio_scsi virtio_pci virtio_console " types: - vm releases: @@ -309,7 +309,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_console sd_mod" + add_drivers+=" virtio_scsi virtio_console sd_mod " types: - vm releases: diff --git a/images/fedora.yaml b/images/fedora.yaml index 309e452b4..e466382eb 100644 --- a/images/fedora.yaml +++ b/images/fedora.yaml @@ -58,7 +58,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+=virtio_scsi + add_drivers+=" virtio_scsi " types: - vm diff --git a/images/openeuler.yaml b/images/openeuler.yaml index 1e371c504..19af04556 100644 --- a/images/openeuler.yaml +++ b/images/openeuler.yaml @@ -130,7 +130,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_console sd_mod" + add_drivers+=" virtio_scsi virtio_console sd_mod " types: - vm diff --git a/images/springdalelinux.yaml b/images/springdalelinux.yaml index b347066dc..dfa3e2782 100644 --- a/images/springdalelinux.yaml +++ b/images/springdalelinux.yaml @@ -186,7 +186,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_pci virtio_console" + add_drivers+=" virtio_scsi virtio_pci virtio_console " types: - vm releases: @@ -195,7 +195,7 @@ files: - path: /etc/dracut.conf.d/lxd.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_console sd_mod" + add_drivers+=" virtio_scsi virtio_console sd_mod " types: - vm releases: