Updated Branches: refs/heads/master 8a1fefc7a -> c484d8aab
Add notes about systemvm build script Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/c484d8aa Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/c484d8aa Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/c484d8aa Branch: refs/heads/master Commit: c484d8aaba803734fa9792c7254bd384955e96c4 Parents: 8a1fefc Author: Hiroaki KAWAI <ka...@stratosphere.co.jp> Authored: Wed Jun 26 15:16:29 2013 +0900 Committer: Hiroaki KAWAI <ka...@stratosphere.co.jp> Committed: Wed Jun 26 15:16:29 2013 +0900 ---------------------------------------------------------------------- patches/systemvm/debian/README | 5 +++++ patches/systemvm/debian/buildsystemvm.sh | 6 +++++- tools/appliance/README.md | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c484d8aa/patches/systemvm/debian/README ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/README b/patches/systemvm/debian/README index 6021db6..5d79c35 100644 --- a/patches/systemvm/debian/README +++ b/patches/systemvm/debian/README @@ -1,3 +1,8 @@ +#################################################### + Note there is a new systemvm build script based on + Veewee(Vagrant) under tools/appliance. +#################################################### + 1. The buildsystemvm.sh script builds a 32-bit system vm disk based on the Debian Squeeze distro. This system vm can boot on any hypervisor thanks to the pvops support in the kernel. It is fully automated 2. The files under config/ are the specific tweaks to the default Debian configuration that are required for CloudStack operation. 3. The variables at the top of the buildsystemvm.sh script can be customized: http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c484d8aa/patches/systemvm/debian/buildsystemvm.sh ---------------------------------------------------------------------- diff --git a/patches/systemvm/debian/buildsystemvm.sh b/patches/systemvm/debian/buildsystemvm.sh index c2fe344..3c99123 100755 --- a/patches/systemvm/debian/buildsystemvm.sh +++ b/patches/systemvm/debian/buildsystemvm.sh @@ -16,7 +16,11 @@ # specific language governing permissions and limitations # under the License. - +echo "####################################################" +echo " Note there is a new systemvm build script based on " +echo " Veewee(Vagrant) under tools/appliance." +echo "####################################################" + set -e set -x http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c484d8aa/tools/appliance/README.md ---------------------------------------------------------------------- diff --git a/tools/appliance/README.md b/tools/appliance/README.md index bb28829..a7c51c8 100644 --- a/tools/appliance/README.md +++ b/tools/appliance/README.md @@ -26,6 +26,8 @@ under the License. export PATH=~/.rvm/bin:$PATH - Install Ruby 1.9.3, if it installed some other version: rvm install 1.9.3 + - Set rvm to use that 1.9.3 + rvm use ruby-1.9.3 - Install bundler: (if you get any openssl issue see https://rvm.io/packages/openssl) gem install bundler @@ -65,3 +67,19 @@ Halt the box: veewee vbox halt 'systemvmtemplate' Now VirtualBox can be used to export appliance. + + +Trobuleshooting +=============== +If you see following line in the screen, then veewee is failing +extracting vboxmanage version. + + Downloading vbox guest additions iso v - http://download.virtualbox.org/vi + +You would be able to check it manually by typing: + + vboxmanage --version + +If you're using Fedora for example, you'll need to install `kernel-devel` +package and run `/etc/init.d/vboxdrv setup` to get veewee working. +