mirror of https://github.com/apache/cloudstack.git
Add notes about systemvm build script
This commit is contained in:
parent
8a1fefc7aa
commit
c484d8aaba
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue