Skip to content

Commit 28ac2f7

Browse files
committed
Every tar has it's own way of doing things
1 parent 3df97bd commit 28ac2f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎tools/appliance/definitions/systemvm64template/postinstall.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ configure_services() {
221221
snapshot_dir="/opt/cloudstack*"
222222
cd /opt
223223
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
224-
tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm'
224+
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
225225
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
226226
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
227227
mkdir -p /usr/share/cloud/

‎tools/appliance/definitions/systemvmtemplate/postinstall.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ configure_services() {
211211
snapshot_dir="/opt/cloudstack*"
212212
cd /opt
213213
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
214-
tar -zxvf cloudstack.tar.gz 'cloudstack-HEAD-???????/systemvm'
214+
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
215215
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
216216
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
217217
mkdir -p /usr/share/cloud/

0 commit comments

Comments
 (0)