summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Lemasle <o.lemasle@gmail.com>2022-03-29 21:40:04 +0200
committerOlivier Lemasle <o.lemasle@gmail.com>2022-04-10 22:00:29 +0200
commitb330a13767164844a913cff3968ef26eb6e88f5e (patch)
treed5f8d4a25247b5fc4f519b193a730564ae9f6ae0
parent862d362d0ab6abbb6b01fd3055c513cd6d395fbb (diff)
downloadvyos-vm-images-b330a13767164844a913cff3968ef26eb6e88f5e.tar.gz
vyos-vm-images-b330a13767164844a913cff3968ef26eb6e88f5e.zip
T4278: Fix config template
The configuration template roles/install-config/templates/config.boot.j2 has been updated in commit db1b4f2079a for libvirt provider. However, variables enable_dhcp and enable_ssh are not declared except in playbook vagrant-libvirt.yml, which causes an error when using another playbook. This commit adds a default value in role "install-config", to fix this issue.
-rw-r--r--roles/install-config/defaults/main.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/install-config/defaults/main.yml b/roles/install-config/defaults/main.yml
new file mode 100644
index 0000000..07383ff
--- /dev/null
+++ b/roles/install-config/defaults/main.yml
@@ -0,0 +1,3 @@
+---
+enable_dhcp: False
+enable_ssh: False