Skip to content

Commit a144037

Browse files
committed
reinstall: Use skip-fetch-check
The image is always pulled first, so let's avoid requiring the credentials to be baked in the image for this check. fixes #1205 Signed-off-by: ckyrouac <[email protected]>
1 parent 2de8e0d commit a144037

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
@@ -41,6 +41,9 @@ pub(crate) fn reinstall_command(image: &str, ssh_key_file: &str) -> Command {
4141
// this binary. Since this is no longer an "arcane" bootc command, we can safely avoid this
4242
// timed warning prompt. TODO: Discuss in https://github.com/containers/bootc/discussions/1060
4343
"--acknowledge-destructive",
44+
// The image is always pulled first, so let's avoid requiring the credentials to be baked
45+
// in the image for this check.
46+
"--skip-fetch-check",
4447
]
4548
.map(String::from)
4649
.to_vec();

0 commit comments

Comments
 (0)