XenServer: Enable injection of XVA and ISO urls

This will enable the flexible configuration of the XVA and the URL
through nodepool, thus it's not needed to push an infra change for
changing those values. Also if you do not have those values configured,
sensible defaults are provided.

Change-Id: Ie2be50f842b4220d4e7f9d8e830d3df3262a6353
This commit is contained in:
Mate Lakat 2014-11-24 08:48:26 +01:00
parent 3a53be9675
commit c7c3d68468
2 changed files with 7 additions and 3 deletions

View File

@ -72,9 +72,9 @@ LOG_FILE="${THIS_FILE}.log"
ADDITIONAL_PARAMETERS="$@"
XENSERVER_PASSWORD="$1"
XENSERVER_ISO_URL="http://downloadns.citrix.com.edgesuite.net/akdlm/8159/XenServer-6.2.0-install-cd.iso"
STAGING_APPLIANCE_URL="$2"
APPLIANCE_NAME="$3"
XENSERVER_ISO_URL="$4"
FILE_TO_TOUCH_ON_COMPLETION="/var/run/xenserver.ready"
# It is assumed, that the appliance has a user, DOMZERO_USER, and by

View File

@ -17,7 +17,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
XENSERVER_XVA_URL=${NODEPOOL_XENSERVER_XVA_URL:-http://downloads.vmd.citrix.com/OpenStack/xenapi-in-the-cloud-appliances/prod_ci}
XENSERVER_ISO_URL=${NODEPOOL_XENSERVER_ISO_URL:-http://downloadns.citrix.com.edgesuite.net/akdlm/8159/XenServer-6.2.0-install-cd.iso}
./convert_node_to_xenserver.sh \
password \
http://downloads.vmd.citrix.com/OpenStack/xenapi-in-the-cloud-appliances/1.1.4.xva \
devstack
"$XENSERVER_XVA_URL" \
devstack \
"$XENSERVER_ISO_URL"