Added new configuration option for OpenStackVmInstance for cloud-init 51/49951/1
authorspisarski <s.pisarski@cablelabs.com>
Wed, 3 Jan 2018 17:00:43 +0000 (10:00 -0700)
committerspisarski <s.pisarski@cablelabs.com>
Wed, 3 Jan 2018 17:00:43 +0000 (10:00 -0700)
commit125a7061b19afdd3c2e4f0e463e85572dfb3783d
treef84e3d0a5cb82729f44761ab51fc20b481aae891
parent24e4fc3b5efd3382836091809e075ea6b371e597
Added new configuration option for OpenStackVmInstance for cloud-init

Added cloud_init_timeout to VM instance configuration to override the
default timeout value hardcoded @ 120 seconds. This patch not only
expands the default value to 300, but also allows the client to override
this value as cloud-init can take quite some time depending on what is
being requested.

Change-Id: Ia4d0a54ce853a93748b16945f5ddd4d5887feb7d
Signed-off-by: spisarski <s.pisarski@cablelabs.com>
snaps/config/tests/vm_inst_tests.py
snaps/config/vm_inst.py
snaps/openstack/create_instance.py