mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
customize: remove zypper's gpg keys auto-import
This option was considered unsecure, found a fix on the generated opensuse images instead.
This commit is contained in:
committed by
Richard W.M. Jones
parent
9c836e8669
commit
bc8e1ff9ae
@@ -116,7 +116,7 @@ exec >>%s 2>&1
|
||||
| "yum" ->
|
||||
sprintf "yum -y install %s" quoted_args
|
||||
| "zypper" ->
|
||||
sprintf "zypper -n --gpg-auto-import-keys in -l %s" quoted_args
|
||||
sprintf "zypper -n in -l %s" quoted_args
|
||||
| "unknown" ->
|
||||
error (f_"--install is not supported for this guest operating system")
|
||||
| pm ->
|
||||
@@ -143,7 +143,7 @@ exec >>%s 2>&1
|
||||
| "yum" ->
|
||||
sprintf "yum -y update"
|
||||
| "zypper" ->
|
||||
sprintf "zypper -n --gpg-auto-import-keys update -l"
|
||||
sprintf "zypper -n update -l"
|
||||
| "unknown" ->
|
||||
error (f_"--update is not supported for this guest operating system")
|
||||
| pm ->
|
||||
|
||||
Reference in New Issue
Block a user