diff options
author | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-06-10 14:29:48 -0400 |
commit | ccf03a25db6c31cf8d8f3b54348004c1ee933f3e (patch) | |
tree | 14a3d5abade84bc2e41eae81425b28dd9a1b6dca /src/star.rs | |
parent | 26940cde1e363a5454ef0f06381c85afdd1c85d3 (diff) | |
download | solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.tar.gz solarlib-ccf03a25db6c31cf8d8f3b54348004c1ee933f3e.zip |
planet: Fix template for VMs
Still to-do: Automatically add the installation `Ship` to the VM
Diffstat (limited to 'src/star.rs')
-rw-r--r-- | src/star.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/star.rs b/src/star.rs index 7d3c21d..75368cd 100644 --- a/src/star.rs +++ b/src/star.rs @@ -67,9 +67,9 @@ impl Star { let c = Connect::open(&url.clone())?; let remote = if url.contains("qemu:///") || url.contains("localhost") || url.contains("127.0.0.1") { - true - } else { false + } else { + true }; // If the connection succeeds, we've got one! @@ -203,8 +203,6 @@ impl Star { let buf = String::from_utf8(buf).unwrap(); - println!("{}", buf); - let dom: Domain = match &self.con { Some(c) => { let dom = Domain::define_xml(&c, &buf)?; |