mirror of
https://github.com/dathere/ckan-devstaller.git
synced 2025-11-09 13:39:49 +00:00
fix: set -y flag for openssh-server install
This commit is contained in:
parent
6ef6dfa6c7
commit
557be29b1f
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ fn main() -> Result<()> {
|
||||||
"\n{} Enabling SSH...",
|
"\n{} Enabling SSH...",
|
||||||
"2.".if_supports_color(Stdout, |text| text.on_magenta().white()),
|
"2.".if_supports_color(Stdout, |text| text.on_magenta().white()),
|
||||||
);
|
);
|
||||||
cmd!(sh, "sudo apt install openssh-server").run()?;
|
cmd!(sh, "sudo apt install openssh-server -y").run()?;
|
||||||
println!(
|
println!(
|
||||||
"{}",
|
"{}",
|
||||||
"✅ 2. Successfully enabled SSH."
|
"✅ 2. Successfully enabled SSH."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue