Commit 5f85140a authored by Mikhail Gordeev's avatar Mikhail Gordeev

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.
parent c1efb923
...@@ -25,6 +25,7 @@ vm/systemd-net: vm/systemd use/net-eth/networkd-dhcp use/net-ssh \ ...@@ -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 \ vm/cloud-systemd: vm/systemd-net mixin/cloud-init use/vmguest/kvm use/tty/S0 \
use/net/networkd/resolved use/net/networkd/resolved
@$(call add,THE_KMODULES,drm) @$(call add,THE_KMODULES,drm)
@$(call add,VM_INITRDMODULES,sr_mod)
@$(call add,BASE_PACKAGES,update-kernel) @$(call add,BASE_PACKAGES,update-kernel)
@$(call add,BASE_PACKAGES,apt-scripts) @$(call add,BASE_PACKAGES,apt-scripts)
@$(call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes) @$(call add,BASE_PACKAGES,systemd-settings-disable-kill-user-processes)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment