mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
rename from coreol9 or coreol9Small to sool9
This commit is contained in:
@@ -12,9 +12,9 @@ Usage:
|
||||
python so-qcow2-modify-network.py -I <qcow2_image_path> -i <interface> (--dhcp4 | --static4 --ip4 <ip_address> --gw4 <gateway>) [--dns4 <dns_servers>] [--search4 <search_domain>]
|
||||
|
||||
Examples:
|
||||
python so-qcow2-modify-network.py -I /var/lib/libvirt/images/coreol9/coreol9.qcow2 -i eth0 --static4 --ip4 192.168.1.10/24 --gw4 192.168.1.1 --dns4 192.168.1.1,8.8.8.8 --search4 example.local
|
||||
python so-qcow2-modify-network.py -I /var/lib/libvirt/images/sool9/sool9.qcow2 -i eth0 --static4 --ip4 192.168.1.10/24 --gw4 192.168.1.1 --dns4 192.168.1.1,8.8.8.8 --search4 example.local
|
||||
|
||||
python so-qcow2-modify-network.py -I /var/lib/libvirt/images/coreol9/coreol9.qcow2 -i eth0 --dhcp4
|
||||
python so-qcow2-modify-network.py -I /var/lib/libvirt/images/sool9/sool9.qcow2 -i eth0 --dhcp4
|
||||
"""
|
||||
|
||||
import argparse
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
# The files in this directory (/opt/so/saltstack/local/salt/libvirt/images/coreol9Small) are generated by createvm.sh. They are then distributed to the hypervisors where a storage pool will be created then the image can be installed.
|
||||
@@ -1,6 +1,6 @@
|
||||
# the source location will be /opt/so/saltstack/local/salt/libvirt/imaages/coreol9Small
|
||||
# the source location will be /opt/so/saltstack/local/salt/libvirt/images/sool9
|
||||
# this will need to change to save the images to /nsm
|
||||
baseimagefiles:
|
||||
file.recurse:
|
||||
- name: /var/lib/libvirt/images/coreol9Small/
|
||||
- source: salt://libvirt/images/coreol9Small/
|
||||
- name: /var/lib/libvirt/images/sool9/
|
||||
- source: salt://libvirt/images/sool9/
|
||||
|
||||
1
salt/libvirt/images/sool9/README
Normal file
1
salt/libvirt/images/sool9/README
Normal file
@@ -0,0 +1 @@
|
||||
# The files in this directory (/opt/so/saltstack/local/salt/libvirt/images/sool9) are generated by createvm.sh. They are then distributed to the hypervisors where a storage pool will be created then the image can be installed.
|
||||
@@ -79,7 +79,7 @@ set_default_pool:
|
||||
virt.pool_running:
|
||||
- name: default
|
||||
- ptype: dir
|
||||
- target: /var/lib/libvirt/images/coreol9
|
||||
- target: /var/lib/libvirt/images/sool9
|
||||
- permissions:
|
||||
- mode: 0711
|
||||
- owner: qemu
|
||||
|
||||
@@ -236,7 +236,7 @@ def run_qcow2_modify_hardware_config(profile, vm_name, cpu=None, memory=None, pc
|
||||
def run_qcow2_modify_network_config(profile, mode, ip=None, gateway=None, dns=None, search_domain=None):
|
||||
hv_name = profile.split('-')[1]
|
||||
target = hv_name + "_*"
|
||||
image = '/var/lib/libvirt/images/coreol9/coreol9.qcow2.MODIFIED'
|
||||
image = '/var/lib/libvirt/images/sool9/sool9.qcow2'
|
||||
interface = 'eth0'
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user