Every tar has it's own way of doing things

This commit is contained in:
Hugo Trippaers 2014-02-05 11:48:53 +01:00
parent 3df97bd663
commit 28ac2f758e
2 changed files with 2 additions and 2 deletions

View File

@ -221,7 +221,7 @@ configure_services() {
snapshot_dir="/opt/cloudstack*"
cd /opt
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm'
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
mkdir -p /usr/share/cloud/

View File

@ -211,7 +211,7 @@ configure_services() {
snapshot_dir="/opt/cloudstack*"
cd /opt
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm'
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
mkdir -p /usr/share/cloud/