From 898155dfd294371f361f0563a2c4ee1325487507 Mon Sep 17 00:00:00 2001 From: shaofeng_cheng Date: Thu, 8 Jun 2017 14:56:14 +0800 Subject: [PATCH] Add default_boot_option configuration The default value of default_boot_option configuration will change eventually from "netboot" to "local". It is recommended to set an explicit value for it during the transition period Change-Id: Ic42b84e82d4ad27e371536ad9915b5a32118012d Closes-Bug: #1696636 --- ansible/roles/ironic/templates/ironic.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index ff869f1df1..7e7d13ada1 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -58,6 +58,8 @@ memcache_servers = {{ memcached_servers }} memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} {%- endif %} +[deploy] +default_boot_option = netboot [glance] glance_host = {{ internal_protocol }}://{% if orchestration_engine == 'KUBERNETES' %}glance-api{% else %}{{ kolla_internal_fqdn }}{% endif %}:{{ glance_api_port }}