From 17943ef0dbbb197186ab0ed32ce3748b58bffe6f Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Sat, 18 Jan 2025 08:24:50 -0500 Subject: [PATCH] add hypervisor state to hypervisor node --- salt/_modules/qcow2.py | 2 +- salt/top.sls | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/salt/_modules/qcow2.py b/salt/_modules/qcow2.py index 0cbcd8707..0339849fa 100644 --- a/salt/_modules/qcow2.py +++ b/salt/_modules/qcow2.py @@ -29,7 +29,7 @@ def modify_network_config(image, interface, mode, ip4=None, gw4=None, dns4=None, .. code-block:: bash - salt '*' qcow2.modify_network_config image='/path/to/image.qcow2' interface='eth0' mode='static4' ip4='192.168.1.10/24' gw4='192.168.1.1' dns4='192.168.1.1,8.8.8.8' search4='example.local' + salt '*' qcow2.modify_network_config image='/nsm/libvirt/images/sool9/sool9.qcow2' interface='eth0' mode='static4' ip4='192.168.1.10/24' gw4='192.168.1.1' dns4='192.168.1.1,8.8.8.8' search4='example.local' ''' diff --git a/salt/top.sls b/salt/top.sls index d16e34d55..edabfe97e 100644 --- a/salt/top.sls +++ b/salt/top.sls @@ -276,6 +276,7 @@ base: - elasticfleet.install_agent_grid - libvirt - libvirt.images + - hypervisor - stig '*_desktop and G@saltversion:{{saltversion}}':