mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-14 14:18:40 +02:00
virt start
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
searchnode:
|
||||
provider: local-kvm
|
||||
base_domain: jppol9vm
|
||||
ip_source: qemu-agent
|
||||
ssh_username: jpatterson
|
||||
private_key: /home/jpatterson/.ssh/id_rsa
|
||||
sudo: True
|
||||
# /tmp is mounted noexec.. do workaround
|
||||
deploy_command: sh /tmp/.saltcloud-*/deploy.sh
|
||||
script_args: -F -x python3 stable 3006.1
|
||||
# grains to add to the minion
|
||||
#grains:
|
||||
# clones-are-awesome: true
|
||||
# override minion settings
|
||||
minion:
|
||||
master: jppvirt
|
||||
master_port: 4506
|
||||
startup_states: sls
|
||||
sls_list:
|
||||
- setHostname
|
||||
|
||||
sensor:
|
||||
provider: local-kvm
|
||||
base_domain: jppol9vm
|
||||
ip_source: qemu-agent
|
||||
ssh_username: jpatterson
|
||||
private_key: /home/jpatterson/.ssh/id_rsa
|
||||
sudo: True
|
||||
#preflight_cmds:
|
||||
# - echo "do something"
|
||||
# - hostname
|
||||
# /tmp is mounted noexec.. do workaround
|
||||
deploy_command: sh /tmp/.saltcloud-*/deploy.sh
|
||||
script_args: -F -x python3 stable 3006.1
|
||||
# the destination directory will be created if it doesn't exist
|
||||
#file_map:
|
||||
# /srv/salt/filemap.txt: /remote/path/to/use/custom/filemap.txt
|
||||
#inline_script:
|
||||
# - echo "SLEEPING"
|
||||
# - hostname
|
||||
# grains to add to the minion
|
||||
#grains:
|
||||
# clones-are-awesome: true
|
||||
# override minion settings
|
||||
minion:
|
||||
master: jppvirt
|
||||
master_port: 4506
|
||||
startup_states: sls
|
||||
sls_list:
|
||||
- setHostname
|
||||
|
||||
core:
|
||||
provider: local-kvm
|
||||
base_domain: jppol9vm
|
||||
ip_source: qemu-agent
|
||||
ssh_username: jpatterson
|
||||
private_key: /home/jpatterson/.ssh/id_rsa
|
||||
sudo: True
|
||||
deploy_command: sh /tmp/.saltcloud-*/deploy.sh
|
||||
script_args: -F -x python3 stable 3006.1
|
||||
minion:
|
||||
master: jppvirt
|
||||
master_port: 4506
|
||||
startup_states: sls
|
||||
sls_list:
|
||||
- setHostname
|
||||
@@ -0,0 +1,11 @@
|
||||
# Set up a provider with qemu+ssh protocol
|
||||
#kvm-via-ssh:
|
||||
# driver: libvirt
|
||||
# url: qemu+ssh://jpatterson@jppvirt/system?socket=/var/run/libvirt/libvirt-sock
|
||||
|
||||
# Or connect to a local libvirt instance
|
||||
local-kvm:
|
||||
driver: libvirt
|
||||
url: qemu:///system
|
||||
# work around flag for XML validation errors while cloning
|
||||
validate_xml: no
|
||||
Reference in New Issue
Block a user