Updated Branches: refs/heads/master ff32ae530 -> 51f66e2b5
CLOUDSTACK-1340: Correct paths used to create cloud-script.tar, fix debug msgs Signed-off-by: Rohit Yadav <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/51f66e2b Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/51f66e2b Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/51f66e2b Branch: refs/heads/master Commit: 51f66e2b52ac2fade983a7f55b7f73f27680fd7e Parents: ff32ae5 Author: Rohit Yadav <[email protected]> Authored: Wed Feb 27 17:15:37 2013 +0530 Committer: Rohit Yadav <[email protected]> Committed: Wed Feb 27 17:16:18 2013 +0530 ---------------------------------------------------------------------- .../definitions/systemvmtemplate/postinstall.sh | 9 ++++++--- 1 files changed, 6 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/51f66e2b/tools/appliance/definitions/systemvmtemplate/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate/postinstall.sh b/tools/appliance/definitions/systemvmtemplate/postinstall.sh index 97175fa..d035527 100644 --- a/tools/appliance/definitions/systemvmtemplate/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate/postinstall.sh @@ -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"
