Really using real hdd if using ipmi provisionning.

This commit is contained in:
Thomas Goirand 2016-03-12 00:24:16 +01:00
parent 9419c050d8
commit b70308b3d9
1 changed files with 2 additions and 1 deletions

View File

@ -192,11 +192,12 @@ otci_install_openstack_deploy () {
echo "===> Running openstack-deploy-proxy-network"
otci_remote "sudo openstack-deploy-proxy-network --mgmt-ip-cidr ${OTCI_ETH1_CIDR} --mgmt-if eth1 --ext-host-min ${OTCI_PUBIP_START} --ext-host-max ${OTCI_PUBIP_END} --local-ip ${OTCI_LOCAL_IP}"
echo "===> Deploying tempest"
if ! [ "${OTCI_VIRT_MODE}" = "ipmi" ] ; then
if [ "${OTCI_VIRT_MODE}" = "ipmi" ] ; then
LVMTYPE="resetup --otci-lvm-device sda"
else
LVMTYPE=loopback
fi
echo "-> Running: otci_remote sudo openstack-deploy-tempest --otci-lvmtype ${LVMTYPE} --otci-openstack-debian-images-deb-repo ${OTCI_DEBIAN_REPO_URL}"
otci_remote "sudo openstack-deploy-tempest --otci-lvmtype ${LVMTYPE} --otci-openstack-debian-images-deb-repo ${OTCI_DEBIAN_REPO_URL}"
}