mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-14 14:18:40 +02:00
hyper
This commit is contained in:
@@ -49,15 +49,14 @@ sensor:
|
||||
sls_list:
|
||||
- setHostname
|
||||
|
||||
{%- for node_type, hosts in HYPERVISORS.items() %}
|
||||
{%- for host in hosts %}
|
||||
{%- for host in HYPERVISORS %}
|
||||
|
||||
core-{{host}}:
|
||||
provider: kvm-ssh-{{host}}
|
||||
base_domain: jppol9vm
|
||||
ip_source: qemu-agent
|
||||
ssh_username: onionuser
|
||||
private_key: /home/onionuser/.ssh/id_ed25519
|
||||
ssh_username: soqemussh
|
||||
private_key: /home/soqemussh/.ssh/id_ed25519
|
||||
sudo: True
|
||||
deploy_command: sh /tmp/.saltcloud-*/deploy.sh
|
||||
script_args: -F -x python3 stable 3006.1
|
||||
@@ -68,5 +67,4 @@ core-{{host}}:
|
||||
sls_list:
|
||||
- setHostname
|
||||
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
|
||||
@@ -1,16 +1,10 @@
|
||||
# Set up a provider with qemu+ssh protocol
|
||||
#kvm-ssh-jpphype1:
|
||||
# driver: libvirt
|
||||
# url: qemu+ssh://soqemussh@jpphype1/system?socket=/var/run/libvirt/libvirt-sock
|
||||
|
||||
{%- for node_type, hosts in HYPERVISORS.items() %}
|
||||
{%- for host in hosts %}
|
||||
{%- for host in HYPERVISORS %}
|
||||
|
||||
kvm-ssh-{{host}}:
|
||||
driver: libvirt
|
||||
url: qemu+ssh://soqemussh@{{host}}/system?socket=/var/run/libvirt/libvirt-sock
|
||||
|
||||
{%- endfor %}
|
||||
{%- endfor %}
|
||||
|
||||
# Or connect to a local libvirt instance
|
||||
|
||||
@@ -20,7 +20,7 @@ cloud_providers:
|
||||
- name: /etc/salt/cloud.providers.d/libvirt.conf
|
||||
- source: salt://salt/cloud/cloud.providers.d/libvirt.conf.jinja
|
||||
- defaults:
|
||||
HYPERVISORS: {{pillar.hypervisor.nodes}}
|
||||
HYPERVISORS: {{pillar.hypervisor.nodes.hypervisor}}
|
||||
- template: jinja
|
||||
|
||||
cloud_profiles:
|
||||
|
||||
Reference in New Issue
Block a user