]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
tasks/calamari_setup: ice_setup 0.2.0 has added another prompt
authorDan Mick <dan.mick@redhat.com>
Fri, 6 Feb 2015 01:23:58 +0000 (17:23 -0800)
committerDan Mick <dan.mick@redhat.com>
Sat, 7 Feb 2015 01:33:53 +0000 (17:33 -0800)
Add an extra '\n' to the interaction string to answer it

Signed-off-by: Dan Mick <dan.mick@redhat.com>
tasks/calamari_setup.py

index 08ecf0327e22ebfd4c328aaaa95242a7fa31b42a..ae92b0b9f20c5d9c4864b0d4420d84ff884bb6f3 100644 (file)
@@ -249,7 +249,7 @@ def calamari_install(config, cal_svr):
                       run.Raw('|'), 'tar', 'xvf', run.Raw('-')])
     if ret.exitstatus:
         raise RuntimeError('remote tar failed')
-    icesetdata = 'yes\n%s\nhttp\n' % client_id
+    icesetdata = 'yes\n\n%s\nhttp\n' % client_id
     ice_in = StringIO(icesetdata)
     ice_setup_io = StringIO()
     ret = cal_svr.run(args=['sudo', 'python', 'ice_setup.py'], stdin=ice_in,