Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
omertuc committed Sep 5, 2024
1 parent 1dd1909 commit bf5eee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests-integration/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ pub(crate) const BASE_ARGS: &[&str] = &[
// Clear out and delete any ostree roots
fn reset_root(sh: &Shell, image: &str) -> Result<()> {
// Leverage bootc hidden wipe-ostree command to get rid of otherwise hard to delete files
cmd!(sh, "sudo {BASE_ARGS...} -v /ostree:/ostree {image} bootc state wipe-ostree").run()?;
cmd!(sh, "sudo {BASE_ARGS...} -v /ostree:/ostree -v /boot:/boot {image} bootc state wipe-ostree").run()?;

// Now that the hard to delete files are gone, we can just rmrf the rest
cmd!(sh, "sudo /bin/sh -c 'rm -rf /ostree/deploy/*'").run()?;
Expand Down

0 comments on commit bf5eee0

Please sign in to comment.