Commit 25d6a0fe authored by Jeremy Soller's avatar Jeremy Soller

Add scheme to paths

parent 7ad78274
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment