mine for hyper

This commit is contained in:
m0duspwnens
2024-08-12 14:58:10 -04:00
parent 957235a656
commit f9eeb76518
2 changed files with 7 additions and 2 deletions

View File

@@ -1,7 +1,13 @@
{% if grains.role == 'so-hypervisor' %}
{% set interface = 'br0' %}
{% else %}
{% set interface = pillar.host.mainint %}
{% endif %}
mine_interval: 25 mine_interval: 25
mine_functions: mine_functions:
network.ip_addrs: network.ip_addrs:
- interface: {{ pillar.host.mainint }} - interface: {{ interface }}
{%- if grains.role in ['so-eval','so-import','so-manager','so-managersearch','so-standalone'] %} {%- if grains.role in ['so-eval','so-import','so-manager','so-managersearch','so-standalone'] %}
x509.get_pem_entries: x509.get_pem_entries:
- glob_path: '/etc/pki/ca.crt' - glob_path: '/etc/pki/ca.crt'

View File

@@ -629,7 +629,6 @@ if ! [[ -f $install_opt_file ]]; then
check_requirements check_requirements
networking_needful networking_needful
configure_hyper_bridge configure_hyper_bridge
MNIC=br0
collect_mngr_hostname collect_mngr_hostname
add_mngr_ip_to_hosts add_mngr_ip_to_hosts
check_manager_connection check_manager_connection