diff --git a/salt/libvirt/images/coreol9Small/README b/salt/libvirt/images/coreol9Small/README new file mode 100644 index 000000000..28d066458 --- /dev/null +++ b/salt/libvirt/images/coreol9Small/README @@ -0,0 +1 @@ +# 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. diff --git a/salt/libvirt/images/init.sls b/salt/libvirt/images/init.sls new file mode 100644 index 000000000..605af2368 --- /dev/null +++ b/salt/libvirt/images/init.sls @@ -0,0 +1,6 @@ +# the source location will be /opt/so/saltstack/local/salt/libvirt/imaages/coreol9Small +# 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/