Fix SLES zypper command usage

This commit is contained in:
Juerg Haefliger 2013-06-27 14:14:51 +02:00
parent 08f012879e
commit 7d9fdc4a02

View File

@ -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)