From 28ac2f758ea85cf315c98d5ef121b6e20bfe6ddf Mon Sep 17 00:00:00 2001 From: Hugo Trippaers Date: Wed, 5 Feb 2014 11:48:53 +0100 Subject: [PATCH] Every tar has it's own way of doing things --- tools/appliance/definitions/systemvm64template/postinstall.sh | 2 +- tools/appliance/definitions/systemvmtemplate/postinstall.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/appliance/definitions/systemvm64template/postinstall.sh b/tools/appliance/definitions/systemvm64template/postinstall.sh index a9e0b89b582..cc8ead9d947 100644 --- a/tools/appliance/definitions/systemvm64template/postinstall.sh +++ b/tools/appliance/definitions/systemvm64template/postinstall.sh @@ -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/ diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index d6134836659..23e66dd2888 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -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/