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/ship.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/ship.rs') diff --git a/src/ship.rs b/src/ship.rs index 6466a5f..7b684b3 100644 --- a/src/ship.rs +++ b/src/ship.rs @@ -94,6 +94,7 @@ impl Ship { ]) .output()?; } else { + println!("Not remote"); output = Command::new("wget") .args([ "-O", @@ -112,7 +113,7 @@ impl Ship { pub fn make_pretty_name(&self) -> String { let safe_name = self.name.clone().to_lowercase().replace(" ", "-"); - let file_name = format!("{}-{}-{}.van", safe_name, self.version.clone(), self.shasum.0.clone()); + let file_name = format!("{}-{}-{}.ship", safe_name, self.version.clone(), self.shasum.0.clone()); file_name } -- cgit v1.2.3