From 257e378a4efcc23d9d24ade17ec098c8de53e6de Mon Sep 17 00:00:00 2001 From: Alex Yang Date: Tue, 8 Aug 2017 13:57:41 +0800 Subject: Fix bug in baremetal deploy with python script Change-Id: I782c4d732ee8774526b21abd3e8636e65916ce3b Signed-off-by: Alex Yang --- deploy/environment.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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): -- cgit 1.2.3-korg