summaryrefslogtreecommitdiffstats
path: root/templates/boot
diff options
context:
space:
mode:
Diffstat (limited to 'templates/boot')
-rw-r--r--templates/boot/generic-base-boot.jinja29
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/boot/generic-base-boot.jinja2 b/templates/boot/generic-base-boot.jinja2
index 5011876..a8e253a 100644
--- a/templates/boot/generic-base-boot.jinja2
+++ b/templates/boot/generic-base-boot.jinja2
@@ -1,4 +1,13 @@
{%- extends 'base/agl-simple.jinja2' %}
+{%- if rootfs_type == 'nbd' %}
+{%- block deploy %}
+{{ super() }}
+ protocols:
+ lava-xnbd:
+ - action: nbd-deploy
+ request: set_port
+{%- endblock %}
+{%- endif %}
{%- block boot %}
{{ super() }}
- boot: