From 6eacc2ad5539abf37dc90cd378b44320f7758869 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 7 Jul 2020 22:09:19 +0200 Subject: refactor vm role names --- chaos-at-home/ch-gnocchi.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chaos-at-home/ch-gnocchi.yml') diff --git a/chaos-at-home/ch-gnocchi.yml b/chaos-at-home/ch-gnocchi.yml index fd519bfd..aad2d27d 100644 --- a/chaos-at-home/ch-gnocchi.yml +++ b/chaos-at-home/ch-gnocchi.yml @@ -7,7 +7,8 @@ - role: core/sshd - role: core/zsh - role: core/cpu-microcode - - role: vm/host + - role: vm/host/base + - role: vm/host/network - role: installer/debian/base - role: installer/openbsd/base post_tasks: -- cgit v1.2.3 From 7a1f8d3b5870df98a2f8d2a14210a3ae60ac3d88 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sat, 11 Jul 2020 02:58:14 +0200 Subject: ch-gnocchi: remove temporary interface config --- chaos-at-home/ch-gnocchi.yml | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'chaos-at-home/ch-gnocchi.yml') diff --git a/chaos-at-home/ch-gnocchi.yml b/chaos-at-home/ch-gnocchi.yml index aad2d27d..095948ad 100644 --- a/chaos-at-home/ch-gnocchi.yml +++ b/chaos-at-home/ch-gnocchi.yml @@ -11,29 +11,3 @@ - role: vm/host/network - role: installer/debian/base - role: installer/openbsd/base - post_tasks: - # you need to reboot for changes to take effect - - name: install network interface config - copy: - dest: /etc/network/interfaces - content: | - # This file describes the network interfaces available on your system - # and how to activate them. For more information, see interfaces(5). - - # The loopback network interface - auto lo - iface lo inet loopback - {% for interface in (__vmhost_bridge_interface_zones__.keys() | sort) %} - - - auto {{ interface }} - iface {{ interface }} inet manual - {% for zone in __vmhost_bridge_interface_zones__[interface] %} - - auto {{ interface }}.{{ network_zones[zone].vlan }} - iface {{ interface }}.{{ network_zones[zone].vlan }} inet manual - {% endfor %} - {% endfor %} - - - source /etc/network/interfaces.d/* -- cgit v1.2.3