diff options
author | Alex Yang <yangyang1@zte.com.cn> | 2017-08-08 13:57:41 +0800 |
---|---|---|
committer | Alex Yang <yangyang1@zte.com.cn> | 2017-08-08 13:57:41 +0800 |
commit | 257e378a4efcc23d9d24ade17ec098c8de53e6de (patch) | |
tree | 594d268b1f86e1f697840c2f9c5277f3144b986a | |
parent | e1b0be206ff4720efb3a6857ba306e7b3e42575b (diff) |
Fix bug in baremetal deploy with python script
Change-Id: I782c4d732ee8774526b21abd3e8636e65916ce3b
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
-rw-r--r-- | deploy/environment.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deploy/environment.py b/deploy/environment.py index 87c16937..dd9e0142 100644 --- a/deploy/environment.py +++ b/deploy/environment.py @@ -144,7 +144,7 @@ class BareMetalEnvironment(DaisyEnvironmentBase): create_vm(template, name=self.daisy_server_info['name'], - disk_file=self.daisy_server_info['image']) + disks=[self.daisy_server_info['image']]) def reboot_nodes(self, boot_dev=None): # TODO: add ipmi info into deploy.yml, or read from PDF @@ -168,6 +168,7 @@ class BareMetalEnvironment(DaisyEnvironmentBase): self.server.check_os_installation(len(self.deploy_struct['hosts'])) time.sleep(10) self.server.check_openstack_installation(len(self.deploy_struct['hosts'])) + self.server.post_deploy() class VirtualEnvironment(DaisyEnvironmentBase): |