From bb878667e55cb029ea9c7f694c5b1b97f63008b4 Mon Sep 17 00:00:00 2001 From: Sandon Van Ness Date: Mon, 8 Dec 2014 17:58:16 -0800 Subject: [PATCH] Use FQDN in downburst yaml. As newer rhel's like to default to localdomain screwing with things if its not set. Older cloud-init/distros appear to just ignore the domain. Signed-off-by: Sandon Van Ness --- teuthology/provision.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teuthology/provision.py b/teuthology/provision.py index 9e2d75951f..8bc1ca7e26 100644 --- a/teuthology/provision.py +++ b/teuthology/provision.py @@ -71,7 +71,8 @@ def create_if_vm(ctx, machine_name): file_info['additional-disks-size'] = lcnfg.get( 'additional-disks-size', '200G') file_info['arch'] = lcnfg.get('arch', 'x86_64') - file_out = {'downburst': file_info} + fqdn = machine_name.split('@')[1] + file_out = {'downburst': file_info, 'local-hostname': fqdn} yaml.safe_dump(file_out, tmp) metadata = "--meta-data=%s" % tmp.name dbrst = _get_downburst_exec() -- 2.39.5