From 0c7c5b999e09acf8795c6db2f1b50a801c0eae8f Mon Sep 17 00:00:00 2001
From: Juerg Haefliger <juergh@gmail.com>
Date: Thu, 27 Jun 2013 14:14:51 +0200
Subject: Fix SLES zypper command usage

---
 cloudinit/distros/sles.py | 5 +----
 1 file changed, 1 insertion(+), 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)
-- 
cgit v1.2.3