appliance: Fix build.sh to build 64bit systemvm appliance as well TODO: Make it general like boxer.sh in tools/devcloud/src
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/72c1a888 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/72c1a888 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/72c1a888 Branch: refs/heads/ui-multiple-vlan-ranges Commit: 72c1a888ebd73977182432b9f0c9bd1a579a6adc Parents: 41e39dd Author: Rohit Yadav <[email protected]> Authored: Mon Mar 11 14:19:30 2013 +0530 Committer: Rohit Yadav <[email protected]> Committed: Mon Mar 11 14:19:30 2013 +0530 ---------------------------------------------------------------------- tools/appliance/README.md | 4 ++-- tools/appliance/build.sh | 8 +++++++- 2 files changed, 9 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/72c1a888/tools/appliance/README.md ---------------------------------------------------------------------- diff --git a/tools/appliance/README.md b/tools/appliance/README.md index 2f6f656..559f79c 100644 --- a/tools/appliance/README.md +++ b/tools/appliance/README.md @@ -43,7 +43,7 @@ Note, gem may require gcc-4.2, make sure link exists: Just run build.sh, it will export archived appliances for KVM, Xen, VMWare and HyperV in `dist`: - sh build.sh + sh build.sh [systemvmtemplate|systemvmtemplate64] # Building SystemVM template appliance manually @@ -51,7 +51,7 @@ List available appliances one can build: veewee vbox list -Modify scripts in definitions/systemvmtemplate/ as per needs. +Modify scripts in definitions/*appliance*/ as per needs. Build systemvm template appliance: veewee vbox build 'systemvmtemplate' http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/72c1a888/tools/appliance/build.sh ---------------------------------------------------------------------- diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh index 69e15d8..74307a0 100644 --- a/tools/appliance/build.sh +++ b/tools/appliance/build.sh @@ -18,7 +18,13 @@ set -x -appliance="systemvmtemplate" +if [ "$1"!="" ] +then + appliance="$1" +else + appliance="systemvmtemplate" +fi + build_date=`date +%Y-%m-%d` branch="master" rootdir=$PWD
