diff options
author | Juerg Haefliger <juergh@gmail.com> | 2013-06-27 14:14:51 +0200 |
---|---|---|
committer | Juerg Haefliger <juergh@gmail.com> | 2013-06-27 14:14:51 +0200 |
commit | 0c7c5b999e09acf8795c6db2f1b50a801c0eae8f (patch) | |
tree | b6aeca563c162823bf354929bf27bad68850c4cc /cloudinit | |
parent | 467d45906c4575c1d231af268c47e812356657b8 (diff) | |
download | vyos-cloud-init-0c7c5b999e09acf8795c6db2f1b50a801c0eae8f.tar.gz vyos-cloud-init-0c7c5b999e09acf8795c6db2f1b50a801c0eae8f.zip |
Fix SLES zypper command usage
Diffstat (limited to 'cloudinit')
-rw-r--r-- | cloudinit/distros/sles.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cloudinit/distros/sles.py b/cloudinit/distros/sles.py index d0c15feb..904e931a 100644 --- a/cloudinit/distros/sles.py +++ b/cloudinit/distros/sles.py @@ -171,10 +171,7 @@ class Distro(distros.Distro): cmd = ['zypper'] # No user interaction possible, enable non-interactive mode - cmd.append('-t') - # Do not check the keys, we assume that the initial repos configured - # in the image can be trusted - cmd.append('--no-gpg-checks') + cmd.append('--non-interactive') # Comand is the operation, such as install cmd.append(command) |