diff options
Diffstat (limited to 'templates/boot')
-rw-r--r-- | templates/boot/generic-base-boot.jinja2 | 6 | ||||
-rw-r--r-- | templates/boot/generic-grub-tftp.jinja2 | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/templates/boot/generic-base-boot.jinja2 b/templates/boot/generic-base-boot.jinja2 index cfd113f..d5f05a2 100644 --- a/templates/boot/generic-base-boot.jinja2 +++ b/templates/boot/generic-base-boot.jinja2 @@ -1,5 +1,11 @@ {%- extends 'base/agl-simple.jinja2' %} {%- if rootfs_type == 'nbd' %} +{%- block main %} +{{ super () }} +# context allows specific values to be overridden or included +context: + extra_kernel_args: systemd.mask=systemd-network-generator.service +{%- endblock %} {%- block deploy %} {{ super() }} protocols: diff --git a/templates/boot/generic-grub-tftp.jinja2 b/templates/boot/generic-grub-tftp.jinja2 index 7c02040..192abd0 100644 --- a/templates/boot/generic-grub-tftp.jinja2 +++ b/templates/boot/generic-grub-tftp.jinja2 @@ -9,7 +9,7 @@ protocols: # context allows specific values to be overridden or included context: - extra_kernel_args: initrd={{ initrd }} systemd.mask=systemd-networkd.service + extra_kernel_args: initrd={{ initrd }} systemd.mask=systemd-network-generator.service {%- endif %} {% endblock %} {%- block boot %} |