libvirt and firewall additions

This commit is contained in:
2022-09-05 15:28:28 +12:00
parent 21679647c6
commit 140749e34c
9 changed files with 129 additions and 53 deletions

View File

@ -1,17 +0,0 @@
<pool type="dir">
<name>iso</name>
<uuid>c7be6440-728c-4181-b7e8-68bf3094740a</uuid>
<capacity unit="bytes">208525328384</capacity>
<allocation unit="bytes">31027101696</allocation>
<available unit="bytes">177498226688</available>
<source>
</source>
<target>
<path>/mnt/smb/isos</path>
<permissions>
<mode>0755</mode>
<owner>1000</owner>
<group>1000</group>
</permissions>
</target>
</pool>

View File

@ -1,12 +1,4 @@
<network>
<name>default</name>
<uuid>ea5ab2e3-1c95-49de-af3b-131a836f4b7b</uuid>
<forward mode="nat"/>
<bridge name="virbr0" stp="on" delay="0"/>
<mac address="52:54:00:63:57:8d"/>
<ip address="192.168.122.1" netmask="255.255.255.0">
<dhcp>
<range start="192.168.122.2" end="192.168.122.254"/>
</dhcp>
</ip>
<name>{{ libvirt_network_name }}</name>
<domain name="{{ libvirt_network_domain }}"/>
</network>

View File

@ -0,0 +1,6 @@
<pool type="{{ libvirt_pool_type }}">
<name>{{ libvirt_pool_name }}</name>
<source>
<name>{{ libvirt_pool_path }}</name>
</source>
</pool>

View File

@ -1,13 +0,0 @@
<pool type="zfs">
<name>zfs-nvme</name>
<uuid>026cccc9-ee79-467a-bf19-91e6f3d2531d</uuid>
<capacity unit="bytes">498216206336</capacity>
<allocation unit="bytes">185811460096</allocation>
<available unit="bytes">312404746240</available>
<source>
<name>nvme/vhds</name>
</source>
<target>
<path>/dev/zvol/nvme/vhds</path>
</target>
</pool>