Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

Introduction

CloudStack uses virtual appliances as part of its orchestration. For example, it uses virtual routers for SDN, secondary storage vm for snapshots, templates etc. All these service appliances are created off a template called a systemvm template in CloudStack’s terminologies. This template appliance is patched to create secondary storage vm, console proxy vm or router vm. There was an old way of building systemvms in patches/systemvm/debian/buildsystemvm.sh which is no longer maintained and we wanted to have a way for hackers to just build systemvms on their own box.

...

The following daily jenkins build job [2] creates systemvms from master branch:

 

httpshttp://jenkinsbuilds.cloudstack.org/jobview/build-systemvm-masterhttp://jenkins.cloudstack.org/job/build-systemvm64master-mastersystemvm/

To use these systemvm templates, download the template and use cloud-install-sys-tmplt to preseed systemvm templates as documented on the installation docs [4], or extract and copy the template to appropriate secondary storage path for ex. for Xen: template/tmpl/1/1/

...

3. Using ovftool, export VMWare compatible ova:

Code Block

/Applications/VMware\ Fusion.app/Contents/Library/VMware\ OVF\ Tool/ovftool --compress=9 ~/Documents/Virtual\ Machines.localized/systemvmtemplate-vmware.vmwarevm/systemvmtemplate-vmware.vmx /Bhaisaab/systemvmtemplate-vmware.ova

...