summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cloudinit/distros/sles.py5
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)