diff options
author | Jenkins <jenkins@review.openstack.org> | 2015-06-09 10:46:26 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2015-06-09 10:46:27 +0000 |
commit | ac95523881bf9d3c35983ad616f358fdf2286871 (patch) | |
tree | da2d892d274c0af7e0462b4f99c0fb713fee0e44 /tuskar_ui | |
parent | 7c40b29298a6330586a73d243be6cd755b4498d0 (diff) | |
parent | 521309a71551a0df2a9b8a98eae33abcc726ed6c (diff) | |
download | tuskar-ui-ac95523881bf9d3c35983ad616f358fdf2286871.tar.gz |
Merge "Add "capabilities: boot_option:local" to flavor creation"
Diffstat (limited to 'tuskar_ui')
-rw-r--r-- | tuskar_ui/api/flavor.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tuskar_ui/api/flavor.py b/tuskar_ui/api/flavor.py index fc25e7e0..518400cc 100644 --- a/tuskar_ui/api/flavor.py +++ b/tuskar_ui/api/flavor.py @@ -77,7 +77,10 @@ class Flavor(object): @classmethod def create(cls, request, name, memory, vcpus, disk, cpu_arch, kernel_image_id=None, ramdisk_image_id=None): - extras_dict = {'cpu_arch': cpu_arch} + extras_dict = { + 'cpu_arch': cpu_arch, + 'capabilities:boot_option': 'local', + } if kernel_image_id is not None: extras_dict['baremetal:deploy_kernel_id'] = kernel_image_id if ramdisk_image_id is not None: |