Updated Branches: refs/heads/4.2 8a679e7b0 -> db880381d
syncing 64 bit svm scripts Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/db880381 Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/db880381 Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/db880381 Branch: refs/heads/4.2 Commit: db880381d16374943df357500212d95a0922fa09 Parents: 8a679e7 Author: Abhinandan Prateek <aprat...@apache.org> Authored: Thu Oct 24 18:50:34 2013 +0530 Committer: Abhinandan Prateek <aprat...@apache.org> Committed: Thu Oct 24 18:50:34 2013 +0530 ---------------------------------------------------------------------- tools/appliance/definitions/systemvmtemplate64/postinstall.sh | 1 + tools/appliance/definitions/systemvmtemplate64/zerodisk.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/db880381/tools/appliance/definitions/systemvmtemplate64/postinstall.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate64/postinstall.sh b/tools/appliance/definitions/systemvmtemplate64/postinstall.sh index 53ae2bb..a779d8c 100644 --- a/tools/appliance/definitions/systemvmtemplate64/postinstall.sh +++ b/tools/appliance/definitions/systemvmtemplate64/postinstall.sh @@ -167,6 +167,7 @@ EOF fix_vhdutil() { wget --no-check-certificate http://download.cloud.com.s3.amazonaws.com/tools/vhd-util -O /bin/vhd-util + chmod a+x /bin/vhd-util } do_fixes() { http://git-wip-us.apache.org/repos/asf/cloudstack/blob/db880381/tools/appliance/definitions/systemvmtemplate64/zerodisk.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/definitions/systemvmtemplate64/zerodisk.sh b/tools/appliance/definitions/systemvmtemplate64/zerodisk.sh index 25bd8c4..b00f7ae 100644 --- a/tools/appliance/definitions/systemvmtemplate64/zerodisk.sh +++ b/tools/appliance/definitions/systemvmtemplate64/zerodisk.sh @@ -6,7 +6,7 @@ rm -fv .veewee_version .veewee_params .vbox_version echo "Cleaning up" # Zero out the free space to save space in the final image: -for path in / /boot /usr /var /opt /tmp +for path in / /boot /usr /var /opt /tmp /home do dd if=/dev/zero of=$path/zero bs=1M sync