Skip to content

Commit

Permalink
images: Fix missing whitespaces around dracut add_drivers+=
Browse files Browse the repository at this point in the history
Or the dracut will report the space missing error and the drivers planning added
would not be added.

Signed-off-by: JUN JIE NAN <[email protected]>
(cherry picked from commit 922d11bef762b59e0507df7291e52b2011cf805d)
Signed-off-by: Din Music <[email protected]>
License: Apache-2.0
  • Loading branch information
nanjj authored and MusicDin committed Apr 2, 2024
1 parent 2a8d051 commit 4bc7b87
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions images/centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion images/fedora.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion images/openeuler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions images/springdalelinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 4bc7b87

Please sign in to comment.