Skip to content

Commit

Permalink
tests/storage-disks-vm: Add virtio_blk driver for various distros
Browse files Browse the repository at this point in the history
Signed-off-by: Kadin Sayani <[email protected]>
  • Loading branch information
kadinsayani committed Aug 16, 2024
1 parent ab5be7e commit 6b5e2cc
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion images/almalinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,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 virtio_blk "
types:
- vm

Expand Down
2 changes: 1 addition & 1 deletion images/archlinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ actions:
sed -i "s#root=[^ ]*#root=${LXD_IMAGEBUILDER_ROOT_UUID}#g" /boot/grub/grub.cfg
# Rebuild initrd
sed -i 's#^MODULES=.*#MODULES=(virtio_pci virtio_scsi virtio_console)#' /etc/mkinitcpio.conf
sed -i 's#^MODULES=.*#MODULES=(virtio_pci virtio_scsi virtio_console virtio_blk)#' /etc/mkinitcpio.conf
sed -i 's#^PRESETS=.*#PRESETS=(default)#' /etc/mkinitcpio.d/*.preset
mkinitcpio -P
Expand Down
2 changes: 1 addition & 1 deletion images/centos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,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 virtio_blk "
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 virtio_blk "
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 @@ -138,7 +138,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 virtio_blk "
types:
- vm

Expand Down
2 changes: 1 addition & 1 deletion images/opensuse.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ files:
- path: /etc/dracut.conf.d/lxd.conf
generator: dump
content: |-
add_drivers+=" virtio_scsi virtio_pci sd_mod "
add_drivers+=" virtio_scsi virtio_pci sd_mod virtio_blk "
types:
- vm

Expand Down
2 changes: 1 addition & 1 deletion images/rockylinux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,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 virtio_blk "
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 @@ -193,7 +193,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 virtio_blk "
types:
- vm
releases:
Expand All @@ -202,7 +202,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 virtio_blk "
types:
- vm
releases:
Expand Down

0 comments on commit 6b5e2cc

Please sign in to comment.