Skip to content

Commit

Permalink
fix: run oma with --no-progress
Browse files Browse the repository at this point in the history
  • Loading branch information
eatradish committed Jan 7, 2025
1 parent 7952e1c commit f1418e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions cli/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ pub fn config_workspace(args: &ArgMatches) -> Result<()> {
} else {
info!("Nothing has been changed");
}

ws.set_config(config)?;
Ok(())
}
Expand Down
2 changes: 1 addition & 1 deletion src/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ impl Machine {
}

const APT_UPDATE_SCRIPT: &str = r#"set -euo pipefail;export DEBIAN_FRONTEND=noninteractive;apt-get update -y --allow-releaseinfo-change && apt-get -y -o Dpkg::Options::="--force-confnew" full-upgrade --autoremove --purge && apt autoclean"#;
const OMA_UPDATE_SCRIPT: &str = r#"set -euo pipefail;oma upgrade -y --force-confnew --no-progress --force-unsafe-io && oma autoremove -y --remove-config && oma clean"#;
const OMA_UPDATE_SCRIPT: &str = r#"set -euo pipefail;oma upgrade -y --force-confnew --no-progress --force-unsafe-io && oma autoremove --no-progress -y --remove-config && oma clean --no-progress"#;

fn wait_for_machine(mut child: Child, ns_name: &str) -> Result<()> {
for i in 0..10 {
Expand Down

0 comments on commit f1418e9

Please sign in to comment.