mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-23 16:29:42 -04:00
VM changes
This commit is contained in:
parent
e78d2abc03
commit
4dbeebbd76
3 changed files with 32 additions and 6 deletions
|
|
@ -7,9 +7,8 @@
|
|||
|
||||
connections."qemu:///system" = {
|
||||
domains = [
|
||||
{
|
||||
definition = ./machines/Test_Bench1.xml;
|
||||
}
|
||||
{ definition = ./machines/Test_Bench1.xml; }
|
||||
{ definition = ./machines/rtHub.xml; }
|
||||
];
|
||||
|
||||
pools = [
|
||||
|
|
@ -17,9 +16,8 @@
|
|||
definition = ./storage/pools/default.xml;
|
||||
active = true;
|
||||
volumes = [
|
||||
{
|
||||
definition = ./storage/volumes/rocky9.xml;
|
||||
}
|
||||
{ definition = ./storage/volumes/rocky9.xml; }
|
||||
{ definition = ./storage/volumes/hubert.xml; }
|
||||
];
|
||||
}
|
||||
];
|
||||
|
|
|
|||
28
src/system/VMs/storage/volumes/hubert.xml
Normal file
28
src/system/VMs/storage/volumes/hubert.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<volume type='file'>
|
||||
<name>rtHub.qcow2</name>
|
||||
<key>/var/lib/libvirt/images/rtHub.qcow2</key>
|
||||
<capacity unit='bytes'>536870912000</capacity>
|
||||
<allocation unit='bytes'>536953098240</allocation>
|
||||
<physical unit='bytes'>536953094144</physical>
|
||||
<target>
|
||||
<path>/var/lib/libvirt/images/rtHub.qcow2</path>
|
||||
<format type='qcow2'/>
|
||||
<permissions>
|
||||
<mode>0600</mode>
|
||||
<owner>0</owner>
|
||||
<group>0</group>
|
||||
</permissions>
|
||||
<timestamps>
|
||||
<atime>1739896304.319898704</atime>
|
||||
<mtime>1739889095.814742881</mtime>
|
||||
<ctime>1739895648.059488448</ctime>
|
||||
<btime>0</btime>
|
||||
</timestamps>
|
||||
<compat>1.1</compat>
|
||||
<clusterSize unit='B'>65536</clusterSize>
|
||||
<features>
|
||||
<lazy_refcounts/>
|
||||
</features>
|
||||
</target>
|
||||
</volume>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue