Skip to content

Commit b6300d8

Browse files
committed
reinstall: Enable post installation cleanup service
Signed-off-by: ckyrouac <[email protected]>
1 parent 85b2419 commit b6300d8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

system-reinstall-bootc/src/podman.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ pub(crate) fn reinstall_command(image: &str, ssh_key_file: &str) -> Command {
4444
// The image is always pulled first, so let's avoid requiring the credentials to be baked
4545
// in the image for this check.
4646
"--skip-fetch-check",
47+
// Always enable the systemd service to cleanup the previous install after booting into the
48+
// bootc system for the first time
49+
"--cleanup",
4750
]
4851
.map(String::from)
4952
.to_vec();

0 commit comments

Comments
 (0)