mirror of https://github.com/apache/cloudstack.git
systemvmtemplate: only extract systemvm directory from src snapshot
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
03ff244ff1
commit
9080ed6efc
|
|
@ -247,7 +247,7 @@ configure_services() {
|
|||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz --wildcards cloudstack*/systemvm
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
|
||||
mkdir -p /usr/share/cloud/
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ configure_services() {
|
|||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz --wildcards cloudstack*/systemvm
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
|
||||
mkdir -p /usr/share/cloud/
|
||||
|
|
|
|||
Loading…
Reference in New Issue