Skip to content

Commit 51f66e2

Browse files
committed
CLOUDSTACK-1340: Correct paths used to create cloud-script.tar, fix debug msgs
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
1 parent ff32ae5 commit 51f66e2

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

tools/appliance/definitions/systemvmtemplate/postinstall.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,8 +156,8 @@ configure_services() {
156156
cp -rv $snapshot_dir/patches/systemvm/debian/config/* /
157157
cp -rv $snapshot_dir/patches/systemvm/debian/vpn/* /
158158
mkdir -p /usr/share/cloud/
159-
tar -cvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/config
160-
tar -rvf /usr/share/cloud/cloud-scripts.tar cd $snapshot_dir/patches/systemvm/debian/vpn
159+
tar -cvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/config/*
160+
tar -rvf /usr/share/cloud/cloud-scripts.tar $snapshot_dir/patches/systemvm/debian/vpn/*
161161
rm -fr $snapshot_dir cloudstack.tar.gz
162162

163163
chkconfig --add cloud-early-config
@@ -183,12 +183,15 @@ echo "*************INSTALLING PACKAGES********************"
183183
install_packages
184184
echo "*************DONE INSTALLING PACKAGES********************"
185185
setup_accounts
186+
echo "*************DONE ACCOUNT SETUP********************"
186187
configure_services
187188
configure_apache2
189+
echo "*************DONE SETTING UP SERVICES********************"
188190
do_fixes
191+
echo "*************DONE FIXING CONFIGURATION********************"
189192
do_signature
190193

191194
fin=$(date +%s)
192195
t=$((fin-begin))
193196

194-
echo "Finished building systemvm appliance in $t seconds"
197+
echo "Signed systemvm build, finished building systemvm appliance in $t seconds"

0 commit comments

Comments
 (0)