diff --git a/vmupdate/agent/source/dnf/dnf_cli.py b/vmupdate/agent/source/dnf/dnf_cli.py index 80d530e..20cb0bc 100644 --- a/vmupdate/agent/source/dnf/dnf_cli.py +++ b/vmupdate/agent/source/dnf/dnf_cli.py @@ -53,6 +53,7 @@ def refresh(self, hard_fail: bool) -> ProcessResult: cmd = [self.package_manager, "-q", "check-update", + "--assumeyes", f"--setopt=skip_if_unavailable={int(not hard_fail)}"] result_check = self.run_cmd(cmd) # ret_code == 100 is not an error