Add bridge name on virtual setup
Add bridge name variable on virt-setup.sh script to custom its bridge name Change-Id: Idffade10599846f6163f258a2888a5b95d8352b3
This commit is contained in:
parent
de5cebfd4c
commit
a68251833c
|
@ -64,6 +64,7 @@ if [ "$TRIPLEO_OS_FAMILY" = "redhat" ]; then
|
|||
fi
|
||||
|
||||
export UNDERCLOUD_VM_NAME=${UNDERCLOUD_VM_NAME:-"instack"}
|
||||
export UNDERCLOUD_BRIDGE=${UNDERCLOUD_BRIDGE:-"brbm"}
|
||||
# Set REG_MACHINE_NAME to match UNDERCLOUD_VM_NAME if it isn't already defined.
|
||||
# This will be the name used to register the system to satllite/portal. If
|
||||
# registration is not in use, this doesn't hurt anything.
|
||||
|
@ -151,6 +152,7 @@ export UNDERCLOUD_NODE_CPU=${UNDERCLOUD_NODE_CPU:-$NODE_CPU}
|
|||
sudo tripleo configure-vm \
|
||||
--name $UNDERCLOUD_VM_NAME \
|
||||
--image /var/lib/libvirt/images/$UNDERCLOUD_VM_NAME.qcow2 \
|
||||
--baremetal-interface $UNDERCLOUD_BRIDGE \
|
||||
--seed \
|
||||
--libvirt-nic-driver virtio \
|
||||
--arch $UNDERCLOUD_NODE_ARCH \
|
||||
|
|
Loading…
Reference in New Issue