From 25d6a0fec4e3bc510ef9fc05fc39a04d079bab85 Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Wed, 23 Aug 2017 20:16:45 -0600 Subject: [PATCH] Add scheme to paths --- src/install.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/install.rs b/src/install.rs index a17eb6620a..7046ad6a5c 100644 --- a/src/install.rs +++ b/src/install.rs @@ -183,8 +183,8 @@ pub fn install(config: Config, cookbook: Option<&str>) -> Result<(), String> { let gid = user.gid.unwrap_or(uid); let name = prompt!(user.name, username.clone(), "{}: name [{}]: ", username, username)?; - let home = prompt!(user.home, format!("/home/{}", username), "{}: home [/home/{}]: ", username, username)?; - let shell = prompt!(user.shell, "/bin/ion".to_string(), "{}: shell [/bin/ion]: ", username)?; + let home = prompt!(user.home, format!("file:/home/{}", username), "{}: home [file:/home/{}]: ", username, username)?; + let shell = prompt!(user.shell, "file:/bin/ion".to_string(), "{}: shell [file:/bin/ion]: ", username)?; println!("Adding user {}:", username); println!("\tPassword: {}", password);