ruby-lxc/ext
Andrea C. Granata 695ee8f87b Allow creation of LXC with bdevspecs.
New Container#create accept 5 parameters:
container.create(template, bdevtype = nil, bdevspecs = {}, flags = 0, args = [])

Example:

myspec = { fstype: 'ext4', fssize: 32212254720, vgname: 'zephirworks_VG'}

c = LXC::Container.new('zephirworks_example')
c.create("ubuntu", "lvm", myspec)
2014-05-04 19:38:33 +02:00
..
lxc Allow creation of LXC with bdevspecs. 2014-05-04 19:38:33 +02:00