From 9cc67e45a68a7f7aa51be009a9391f01922439c9 Mon Sep 17 00:00:00 2001 From: Alberto Gireud Date: Thu, 17 Dec 2015 07:17:44 -0600 Subject: [PATCH] Update root_volume variable --- cloud/openstack/os_server.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloud/openstack/os_server.py b/cloud/openstack/os_server.py index 076af3d8dd4..f54b150388d 100644 --- a/cloud/openstack/os_server.py +++ b/cloud/openstack/os_server.py @@ -571,14 +571,14 @@ def main(): state = module.params['state'] image = module.params['image'] - root_volume = module.params['root_volume'] + boot_volume = module.params['boot_volume'] flavor = module.params['flavor'] flavor_ram = module.params['flavor_ram'] if state == 'present': - if not (image or root_volume): + if not (image or boot_volume): module.fail_json( - msg="Parameter 'image' or 'root_volume' is required " + msg="Parameter 'image' or 'boot_volume' is required " "if state == 'present'" ) if not flavor and not flavor_ram: