diff options
Diffstat (limited to 'apex')
-rw-r--r-- | apex/undercloud/undercloud.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apex/undercloud/undercloud.py b/apex/undercloud/undercloud.py index 5d73dd49..013570d3 100644 --- a/apex/undercloud/undercloud.py +++ b/apex/undercloud/undercloud.py @@ -150,7 +150,8 @@ class Undercloud: if os.path.exists(dest_img): os.remove(dest_img) shutil.copyfile(src_img, dest_img) - + shutil.chown(dest_img, user='qemu', group='qemu') + os.chmod(dest_img, 0o0744) # TODO(trozet):check if resize needed right now size is 50gb # there is a lib called vminspect which has some dependencies and is # not yet available in pip. Consider switching to this lib later. @@ -192,6 +193,7 @@ class Undercloud: "enable_ui false", "undercloud_update_packages false", "undercloud_debug false", + "inspection_extras false", "undercloud_hostname undercloud.{}".format(ns['dns-domain']), "local_ip {}/{}".format(str(ns_admin['installer_vm']['ip']), str(ns_admin['cidr']).split('/')[1]), |