Fix SLES zypper command usage
This commit is contained in:
parent
08f012879e
commit
7d9fdc4a02
@ -171,10 +171,7 @@ class Distro(distros.Distro):
|
|||||||
|
|
||||||
cmd = ['zypper']
|
cmd = ['zypper']
|
||||||
# No user interaction possible, enable non-interactive mode
|
# No user interaction possible, enable non-interactive mode
|
||||||
cmd.append('-t')
|
cmd.append('--non-interactive')
|
||||||
# Do not check the keys, we assume that the initial repos configured
|
|
||||||
# in the image can be trusted
|
|
||||||
cmd.append('--no-gpg-checks')
|
|
||||||
|
|
||||||
# Comand is the operation, such as install
|
# Comand is the operation, such as install
|
||||||
cmd.append(command)
|
cmd.append(command)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user