mirror of https://github.com/apache/cloudstack.git
appliance: get scripts only from 4.5 and not master
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
876c78fe1b
commit
5159cbec9f
|
|
@ -242,11 +242,11 @@ configure_services() {
|
|||
mkdir -p /var/lib/haproxy
|
||||
|
||||
# Get config files from master
|
||||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=HEAD;sf=tgz"
|
||||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;refs/heads/4.5;sf=tgz"
|
||||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/config/* /
|
||||
cp -rv $snapshot_dir/systemvm/patches/debian/vpn/* /
|
||||
mkdir -p /usr/share/cloud/
|
||||
|
|
|
|||
|
|
@ -232,11 +232,11 @@ configure_services() {
|
|||
mkdir -p /var/lib/haproxy
|
||||
|
||||
# Get config files from master
|
||||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=HEAD;sf=tgz"
|
||||
snapshot_url="https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=snapshot;h=refs/heads/4.5;sf=tgz"
|
||||
snapshot_dir="/opt/cloudstack*"
|
||||
cd /opt
|
||||
wget --no-check-certificate $snapshot_url -O cloudstack.tar.gz
|
||||
tar -zxvf cloudstack.tar.gz --wildcards 'cloudstack-HEAD-???????/systemvm'
|
||||
tar -zxvf cloudstack.tar.gz
|
||||
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