aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-06-12 20:04:01 -0400
committerCara Salter <cara@devcara.com>2022-06-12 20:04:01 -0400
commit66b136fbbdbc4963de6db63e5af8eb44e0d2ae8b (patch)
tree39e67471a5ce1a4221649488c0231667dad6a214 /templates
parent373f5f25375d6eb563e5c75f432d78ee7d37672c (diff)
downloadsolarlib-66b136fbbdbc4963de6db63e5af8eb44e0d2ae8b.tar.gz
solarlib-66b136fbbdbc4963de6db63e5af8eb44e0d2ae8b.zip
WIP: auto-mount ship
Diffstat (limited to 'templates')
-rw-r--r--templates/disk.rs.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/disk.rs.xml b/templates/disk.rs.xml
new file mode 100644
index 0000000..b4affdb
--- /dev/null
+++ b/templates/disk.rs.xml
@@ -0,0 +1,10 @@
+@(ship: String)
+<disk type='file' device='cdrom'>
+ <driver name='qemu' type='raw'/>
+ <source file='@ship' index='1'/>
+ <backingStore/>
+ <target dev='sdb' bus='sata'/>
+ <readonly/>
+ <alias name='sata0-0-0'/>
+ <address type='drive' controller='0' bus='0' target='0' unit='0'/>
+</disk>