Cherry picked from:
https://review.openstack.org/#/c/9263/
Change-Id: I2fc9c55b444bac355347f0d53b5971d4b809fbff
... | ... |
@@ -55,8 +55,9 @@ then |
55 | 55 |
rm -rf ./master |
56 | 56 |
rm -rf ./nova |
57 | 57 |
fi |
58 |
-wget https://github.com/openstack/nova/zipball/master --no-check-certificate |
|
59 |
-unzip -o master -d ./nova |
|
58 |
+nova_zipball=$(echo $NOVA_REPO | sed "s:\.git$::;s:$:/zipball/$NOVA_BRANCH:g") |
|
59 |
+wget $nova_zipball -O nova-zipball --no-check-certificate |
|
60 |
+unzip -o nova-zipball -d ./nova |
|
60 | 61 |
cp -pr ./nova/*/plugins/xenserver/xenapi/etc/xapi.d /etc/ |
61 | 62 |
chmod a+x /etc/xapi.d/plugins/* |
62 | 63 |
mkdir -p /boot/guest |