Merge pull request #22 from steveb/bm-tweaks

Bm tweaks
This commit is contained in:
Ben Nemec 2016-05-04 10:24:37 -05:00
commit bdecf1d45a
2 changed files with 5 additions and 1 deletions

View File

@ -94,7 +94,10 @@ Preparing the Host Cloud Environment
#. Upload an ipxe-boot image for the baremetal instances::
glance image-create --name ipxe-boot --disk-format qcow2 --container-format bare < ipxe/ipxe-boot.qcow2
glance image-create --name ipxe-boot --disk-format qcow2 --property os_shutdown_timeout=5 --container-format bare < ipxe/ipxe-boot.qcow2
.. note:: os_shutdown_timeout=5 is to avoid server shutdown delays since
since these servers won't respond to graceful shutdown requests.
#. Upload a CentOS 7 image for use as the base BMC instance::

View File

@ -94,6 +94,7 @@ def main():
'pm_user': 'admin',
'pm_password': 'password',
'pm_addr': '',
'capabilities': 'boot_option:local',
}
all_ports = sorted(neutron.list_ports()['ports'], key=lambda x: x['name'])