From b0f9e7133f3932978c7fb7b540024acc17fdfadd Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 9 Jan 2022 03:17:36 +0100 Subject: ch-gw-lan re-deployed @ ch-phoebe --- inventory/host_vars/ch-router.yml | 74 ++++++++----------------------- inventory/host_vars/ch-testvm-openwrt.yml | 1 - inventory/hosts.ini | 3 +- 3 files changed, 19 insertions(+), 59 deletions(-) (limited to 'inventory') diff --git a/inventory/host_vars/ch-router.yml b/inventory/host_vars/ch-router.yml index 367ec6cd..5fecdba8 100644 --- a/inventory/host_vars/ch-router.yml +++ b/inventory/host_vars/ch-router.yml @@ -1,10 +1,26 @@ --- +install: + vm: + memory: 128M + numcpus: 2 + autostart: false + disks: + primary: /dev/sda + scsi: + sda: + type: image + path: /srv/nvme/ch-router/root.img + interfaces: + - bridge: br-svc + - bridge: br-magenta + - bridge: br-mgmt + + openwrt_arch: x86 openwrt_target: 64 openwrt_profile: generic openwrt_output_image_suffixes: - - "{{ openwrt_profile }}-ext4-rootfs.img.gz" - - "{{ openwrt_profile }}-kernel.bin" + - "{{ openwrt_profile }}-ext4-combined.img.gz" openwrt_packages_remove: - ppp @@ -325,60 +341,6 @@ openwrt_uci: overhead: '18 mpu 64 noatm' -virsh_domxml: | - - ch-router - 131072 - 131072 - 2 - - hvm - /srv/ch-router/vmlinuz - console=ttyS0,115200n8 noinitrd root=/dev/vda - - - - - - - - - destroy - restart - restart - - /usr/bin/kvm - - - /dev/random - - - - - - - - - -
- - - - -
- - - - -
- - - - - - - - prometheus_scrape_endpoint: "{{ network_zones.mgmt.prefix | ipaddr(network_zones.mgmt.offsets[inventory_hostname]) | ipaddr('address') }}:9100" prometheus_exporters_default: - openwrt diff --git a/inventory/host_vars/ch-testvm-openwrt.yml b/inventory/host_vars/ch-testvm-openwrt.yml index d19466ac..5e5ebb4c 100644 --- a/inventory/host_vars/ch-testvm-openwrt.yml +++ b/inventory/host_vars/ch-testvm-openwrt.yml @@ -12,7 +12,6 @@ install: path: /srv/nvme/ch-testvm-openwrt/root.img interfaces: - bridge: br-svc - name: svc0 openwrt_arch: x86 diff --git a/inventory/hosts.ini b/inventory/hosts.ini index 3d12705b..6802f77c 100644 --- a/inventory/hosts.ini +++ b/inventory/hosts.ini @@ -345,7 +345,6 @@ ele-gwhetzner ## virtualization [vmhost-ch-gnocchi-guests] -ch-router ch-nic [vmhost-ch-gnocchi] ch-gnocchi @@ -355,7 +354,7 @@ vmhost-ch-gnocchi-guests [vmhost-ch-phoebe-guests] ch-testvm-phoebe ch-testvm-openwrt -#ch-router +ch-router ch-router-obsd ch-jump ch-gw-lan -- cgit v1.2.3