Add answers file support
This commit is contained in:
parent
ae58ca6500
commit
338b6f097f
|
@ -34,3 +34,5 @@ nosetests.xml
|
|||
.mr.developer.cfg
|
||||
.project
|
||||
.pydevproject
|
||||
|
||||
instack.answers
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
LOCAL_IP=192.0.2.1
|
||||
DNSMASQ_START=192.0.2.2
|
||||
DNSMASQ_END=192.0.2.2
|
||||
LOCAL_INTERFACE=eth1
|
||||
MASQUERADE_NETWORK=192.0.2.0/24
|
||||
POWER_DRIVER=nova.virt.baremetal.ipmi.IPMI
|
||||
VIRTUAL_POWER_USER=stack
|
||||
VIRTUAL_POWER_HOST=192.168.122.1
|
|
@ -79,6 +79,19 @@ export DIB_REPOLOCATION_os_refresh_config=http://tarballs.openstack.org/os-refre
|
|||
export DIB_REPOTYPE_os_apply_config=tar
|
||||
export DIB_REPOLOCATION_os_apply_config=http://tarballs.openstack.org/os-apply-config/os-apply-config-0.1.11.tar.gz
|
||||
|
||||
INSTACK_DIR=$(dirname $0)../
|
||||
|
||||
source $INSTACK_DIR/instack.answers
|
||||
|
||||
export LOCAL_IP
|
||||
export DNSMASQ_START
|
||||
export DNSMASQ_END
|
||||
export LOCAL_INTERFACE
|
||||
export MASQUERADE_NETWORK
|
||||
export POWER_DRIVER
|
||||
export VIRTUAL_POWER_USER
|
||||
export VIRTUAL_POWER_HOST
|
||||
|
||||
sudo -E instack \
|
||||
-p diskimage-builder/elements/ tripleo-image-elements/elements/ \
|
||||
-j instack/json-files/fedora-20-undercloud.json
|
||||
|
|
Loading…
Reference in New Issue