mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1340: Correct paths used to create cloud-script.tar, fix debug msgs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
ff32ae5305
commit
51f66e2b52
|
|
@ -156,8 +156,8 @@ configure_services() {
|
|||
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
|
||||
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
|
||||
mkdir -p /usr/share/cloud/
|
||||
tar -cvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/config
|
||||
tar -rvf /usr/share/cloud/cloud-scripts.tar cd $snapshot_dir/patches/systemvm/debian/vpn
|
||||
tar -cvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/config/*
|
||||
tar -rvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/vpn/*
|
||||
rm -fr $snapshot_dir cloudstack.tar.gz
|
||||
|
||||
chkconfig --add cloud-early-config
|
||||
|
|
@ -183,12 +183,15 @@ echo "*************INSTALLING PACKAGES********************"
|
|||
install_packages
|
||||
echo "*************DONE INSTALLING PACKAGES********************"
|
||||
setup_accounts
|
||||
echo "*************DONE ACCOUNT SETUP********************"
|
||||
configure_services
|
||||
configure_apache2
|
||||
echo "*************DONE SETTING UP SERVICES********************"
|
||||
do_fixes
|
||||
echo "*************DONE FIXING CONFIGURATION********************"
|
||||
do_signature
|
||||
|
||||
fin=$(date +%s)
|
||||
t=$((fin-begin))
|
||||
|
||||
echo "Finished building systemvm appliance in $t seconds"
|
||||
echo "Signed systemvm build, finished building systemvm appliance in $t seconds"
|
||||
|
|
|
|||
Loading…
Reference in New Issue