mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-21 13:35:32 +00:00
[go-xcat] Run zypper in non-interactive mode when run `zypper refresh'
This commit is contained in:
@ -1114,7 +1114,7 @@ function update_repo_yum()
|
||||
function update_repo_zypper()
|
||||
{
|
||||
type zypper >/dev/null 2>&1 || return 255
|
||||
zypper --gpg-auto-import-keys refresh
|
||||
zypper --gpg-auto-import-keys -n refresh
|
||||
}
|
||||
|
||||
function update_repo_apt()
|
||||
|
Reference in New Issue
Block a user