From: Alex Yang Date: Tue, 8 Aug 2017 05:57:41 +0000 (+0800) Subject: Fix bug in baremetal deploy with python script X-Git-Tag: opnfv-5.0.RC1~39 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F79%2F38879%2F1;p=daisy.git Fix bug in baremetal deploy with python script Change-Id: I782c4d732ee8774526b21abd3e8636e65916ce3b Signed-off-by: Alex Yang --- 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):