From 922d11bef762b59e0507df7291e52b2011cf805d Mon Sep 17 00:00:00 2001 From: JUN JIE NAN Date: Sat, 30 Mar 2024 18:24:58 +0800 Subject: [PATCH] Fixed space missing 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 --- 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 42ad98edd..4f3d0e83e 100644 --- a/images/centos.yaml +++ b/images/centos.yaml @@ -350,7 +350,7 @@ files: - path: /etc/dracut.conf.d/incus.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_pci virtio_console" + add_drivers+=" virtio_scsi virtio_pci virtio_console " types: - vm releases: @@ -359,7 +359,7 @@ files: - path: /etc/dracut.conf.d/incus.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 3c9dea6e9..c046e71d5 100644 --- a/images/fedora.yaml +++ b/images/fedora.yaml @@ -58,7 +58,7 @@ files: - path: /etc/dracut.conf.d/incus.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 4ec06c899..eb0d40893 100644 --- a/images/openeuler.yaml +++ b/images/openeuler.yaml @@ -130,7 +130,7 @@ files: - path: /etc/dracut.conf.d/incus.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 6a51babb1..4c5636a41 100644 --- a/images/springdalelinux.yaml +++ b/images/springdalelinux.yaml @@ -186,7 +186,7 @@ files: - path: /etc/dracut.conf.d/incus.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/incus.conf generator: dump content: |- - add_drivers+="virtio_scsi virtio_console sd_mod" + add_drivers+=" virtio_scsi virtio_console sd_mod " types: - vm releases: