Support installing OpenStack on XenServer 7.0
XenServer 7.0 has changed some iso files' name, this made devstack script install_os_domU.sh failed to install VM before installing OpenStack. This patch is to fix the problem, make install_os_domU.sh support 7.0 and other prior versions of XenServer Change-Id: I49459bfff2b101fc6927eb4578c5eb47cc8c3ad6
This commit is contained in:
parent
4e638e5511
commit
f179eb7c47
@ -183,10 +183,8 @@ if [ -z "$templateuuid" ]; then
|
||||
# Copy the tools DEB to the XS web server
|
||||
XS_TOOLS_URL="https://github.com/downloads/citrix-openstack/warehouse/xe-guest-utilities_5.6.100-651_amd64.deb"
|
||||
ISO_DIR="/opt/xensource/packages/iso"
|
||||
XS_TOOLS_FILE_NAME="xs-tools.deb"
|
||||
XS_TOOLS_PATH="/root/$XS_TOOLS_FILE_NAME"
|
||||
if [ -e "$ISO_DIR" ]; then
|
||||
TOOLS_ISO=$(ls -1 $ISO_DIR/xs-tools-*.iso | head -1)
|
||||
TOOLS_ISO=$(ls -1 $ISO_DIR/*-tools-*.iso | head -1)
|
||||
TMP_DIR=/tmp/temp.$RANDOM
|
||||
mkdir -p $TMP_DIR
|
||||
mount -o loop $TOOLS_ISO $TMP_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user