summaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorYour Name <you@example.com>2024-03-28 16:18:36 -0400
committerYour Name <you@example.com>2024-03-28 16:18:36 -0400
commitc644379e79262a7478a7fb9ea8001f315fdb6eaf (patch)
treed71b15e396ebca28b76f0b5fd1971dd352877e4e /files
downloadnerdhack-master.tar.gz
nerdhack-master.tar.bz2
nerdhack-master.zip
Initial commitHEADmaster
Diffstat (limited to 'files')
-rw-r--r--files/vm.xml34
1 files changed, 34 insertions, 0 deletions
diff --git a/files/vm.xml b/files/vm.xml
new file mode 100644
index 0000000..8c832ba
--- /dev/null
+++ b/files/vm.xml
@@ -0,0 +1,34 @@
+<domain type='kvm' id='1'>
+ <name>linuxbox</name>
+ <memory unit='MiB'>512</memory>
+ <vcpu>1</vcpu>
+ <os>
+ <type>hvm</type>
+ <boot dev='hd'/>
+ <boot dev='cdrom'/>
+ <bootmenu enable='yes' timeout='2000'/>
+ <bios useserial='yes' rebootTimeout='0'/>
+ </os>
+ <features>
+ <acpi/>
+ <apic/>
+ </features>
+ <devices>
+ <disk type='file' device='disk'>
+ <source file='/home/nathan/Downloads/qemu/vm.qcow2'/>
+ <target dev='vda'/>
+ </disk>
+ <serial type='pty'>
+ <target port='0'/>
+ </serial>
+ <console type='pty'>
+ <target type='serial' port='0'/>
+ </console>
+ <console type='pty'>
+ <target type='virtio'/>
+ </console>
+ <rng model="virtio">
+ <backend model="random">/dev/urandom</backend>
+ </rng>
+ </devices>
+</domain>