cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chiradeep Vittal <Chiradeep.Vit...@citrix.com>
Subject [DISCUSS] LXC systemvm
Date Tue, 29 Apr 2014 18:24:36 GMT
Hi,

I was playing around with LXC and I think I have the systemvm build
figured out. Currently [1] the LXC system requires a KVM/Xen-based
systemvm.

I¹ve tried this out on Ubuntu 14.04 (trusty)

Download these 2 files:
create-lxc-systemvm.sh https://gist.github.com/chiradeep/11388262
provision.rb https://gist.github.com/chiradeep/11407727#file-provision-rb

Execute:
./create-lxc-systemvm.sh

The Ruby script called by the shell script is used to ssh into a minimal
lxc wheezy container.
* Downloads a modified Œpostinstall.sh¹ from
https://gist.github.com/chiradeep/11388137
This is modified from http://goo.gl/28QYa2
* Executes the postinstall script.

Then the shell script tars up the rootfs.

What¹s missing is fixes to cloud-early-config. This should be much easier
than for other hypervisors since the host has write access to
/var/cache/cmdline inside the container.

I guess this is too late for 4.4, but worthwhile for 4.5.
Comments?

[1] https://cwiki.apache.org/confluence/x/oJNMAg



Mime
View raw message