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 ++++++++++----------------------------- 1 file changed, 18 insertions(+), 56 deletions(-) (limited to 'inventory/host_vars/ch-router.yml') 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 -- cgit v1.2.3