vm.mk: Add sr_mod to initrd modules for vm/cloud-systemd
Many cloud providers pass metadata via cdrom. Generator used by the cloud-init to determine a datasource works before loading modules. So cdrom modules must be loaded in the initrd. Other linux distributions enable cdrom modules in the kernel.
This commit is contained in:
parent
c1efb923ea
commit
5f85140ade
@ -25,6 +25,7 @@ vm/systemd-net: vm/systemd use/net-eth/networkd-dhcp use/net-ssh \
|
||||
vm/cloud-systemd: vm/systemd-net mixin/cloud-init use/vmguest/kvm use/tty/S0 \
|
||||
use/net/networkd/resolved
|
||||
@$(call add,THE_KMODULES,drm)
|
||||
@$(call add,VM_INITRDMODULES,sr_mod)
|
||||
@$(call add,BASE_PACKAGES,update-kernel)
|
||||
@$(call add,BASE_PACKAGES,apt-scripts)
|
||||
@$(call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes)
|
||||
|
Loading…
Reference in New Issue
Block a user