| ... | ... |
@@ -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/ |