Browse code

Fix bug 1020513 by downloading xenapi plugins from correct place

Change-Id: I2fc9c55b444bac355347f0d53b5971d4b809fbff

John Garbutt authored on 2012/07/03 20:25:21
Showing 1 changed files
... ...
@@ -57,8 +57,9 @@ then
57 57
 fi
58 58
 
59 59
 # get nova
60
-wget https://github.com/openstack/nova/zipball/master --no-check-certificate
61
-unzip -o master -d ./nova
60
+nova_zipball=$(echo $NOVA_REPO | sed "s:\.git$::;s:$:/zipball/$NOVA_BRANCH:g")
61
+wget $nova_zipball -O nova-zipball --no-check-certificate
62
+unzip -o nova-zipball  -d ./nova
62 63
 
63 64
 # install xapi plugins
64 65
 XAPI_PLUGIN_DIR=/etc/xapi.d/plugins/