CTS: add -l to keygen (normal keygen struggles to run on VMs)

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2011-05-04 14:41:18 +10:00
parent a22c9afde0
commit dc402cbb98

View File

@ -57,7 +57,7 @@ class CoroTest(CTSTest):
# setup the authkey
localauthkey = '/tmp/authkey'
if not os.path.exists(localauthkey):
self.CM.rsh(node, 'corosync-keygen')
self.CM.rsh(node, 'corosync-keygen -l')
self.CM.rsh.cp("%s:%s" % (node, "/etc/corosync/authkey"), localauthkey)
for n in self.CM.Env["nodes"]: