diff options
Diffstat (limited to 'src/star.rs')
-rw-r--r-- | src/star.rs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/star.rs b/src/star.rs index 75368cd..d62d91c 100644 --- a/src/star.rs +++ b/src/star.rs @@ -216,6 +216,16 @@ impl Star { } }; + let mut dev_buf: Vec<u8> = vec![]; + crate::templates::disk_xml( + &mut buf, + format!("/var/lib/libvirt/images/{}", ship.make_pretty_name()) + )?; + + let dev_buf = String::from_utf8(dev_buf).unwrap(); + + + dom.try_into() } |