Use http_{root, url} config from "deploy" instead of "pxe"

The commit 0a9c0e2151 moved the
http_url and http_root configuration options from the "pxe" group to the
"deploy" group. This patch is just updating DevStack to set these
options for the new group.

Change-Id: If34901ac9194139fb9a60260365cb09e14083cd7
This commit is contained in:
Lucas Alvares Gomes 2016-02-16 10:42:42 +00:00
parent 6d8768e87c
commit d402905db4
1 changed files with 2 additions and 2 deletions

View File

@ -406,8 +406,8 @@ function configure_ironic_conductor {
iniset $IRONIC_CONF_FILE pxe ipxe_enabled True
iniset $IRONIC_CONF_FILE pxe pxe_config_template '\$pybasedir/drivers/modules/ipxe_config.template'
iniset $IRONIC_CONF_FILE pxe pxe_bootfile_name $pxebin
iniset $IRONIC_CONF_FILE pxe http_root $IRONIC_HTTP_DIR
iniset $IRONIC_CONF_FILE pxe http_url "http://$IRONIC_HTTP_SERVER:$IRONIC_HTTP_PORT"
iniset $IRONIC_CONF_FILE deploy http_root $IRONIC_HTTP_DIR
iniset $IRONIC_CONF_FILE deploy http_url "http://$IRONIC_HTTP_SERVER:$IRONIC_HTTP_PORT"
fi
}