From ccf03a25db6c31cf8d8f3b54348004c1ee933f3e Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Fri, 10 Jun 2022 14:29:48 -0400 Subject: planet: Fix template for VMs Still to-do: Automatically add the installation `Ship` to the VM --- src/star.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/star.rs') 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)?; -- cgit v1.2.3