From b0ae73af21ae86190ff3ecff1509adb05a62dd77 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 13 Oct 2020 17:30:05 +0200 Subject: SPEC-3631: Add veth test Add veth test which adds an extra virtual network card for testing. Change-Id: Iad5499ad653b4511fd7bd21f57d1b42ef4decb22 Bug-AGL: SPEC-3631 Signed-off-by: Corentin LABBE (cherry picked from commit e52669816edfa0ef48c61a5a7650614a58c02a72) --- templates/base/agl-base.jinja2 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'templates/base') diff --git a/templates/base/agl-base.jinja2 b/templates/base/agl-base.jinja2 index 592970c..346de32 100644 --- a/templates/base/agl-base.jinja2 +++ b/templates/base/agl-base.jinja2 @@ -41,6 +41,9 @@ actions: {%- block boot %} {% endblock %} {%- block tests %} +{%- if rootfs_type == "nbd" %} +{% include "tests/veth.jinja2" %} +{%- endif %} {%-for test_template in test_templates %} {% include test_template %} {%- endfor %} -- cgit 1.2.3-korg