1. 26 Apr, 2013 2 commits
    • add zfs support to lxc-create and lxc-destroy · 33c2c3ec
      Serge Hallyn authored
      This is based on patch from Papp Tamas (thanks).  It also does some
      reorganizing of lxc-create to commonize some of the backingstore handling.
      
      I played with it using:
      
      	sudo lvcreate -L 100G -n zfs vg0
      	sudo zpool create lxc /dev/vg0/zfs
      	sudo lxc-create -B zfs --zfsroot lxc -t ubuntu -n dir2
      
      or you could
      
      	qemu-img create zfs.img 100G
      	sudo qemu-nbd -c /dev/nbd0 zfs.img
      	sudo zpool create lxc /dev/nbd0
      	sudo lxc-create -B zfs --zfsroot lxc -t ubuntu -n dir2
      
      I'll write the bdev.c handler and hook up lxc-clone next.
      
      This also fixses a bug in the sed expression to extract the rootfs from
      container config, which prepended an extra '/' to the rootdev.  (That
      caused the zfs list entry not to match at destroy)
      Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
      Cc: Papp Tamas <tompos@martos.bme.hu>
      Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
    • lxc_wait should start monitord · f485f377
      Dwight Engen authored
      If lxc_wait is called before the container has started the socket will not
      yet have been created and lxc_wait's connect to it will fail. Starting the
      daemon will create the socket for lxc_wait to connect to.
      Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com>
      Acked-by: 's avatarSerge E. Hallyn <serge.hallyn@ubuntu.com>
  2. 25 Apr, 2013 6 commits
  3. 24 Apr, 2013 7 commits
  4. 23 Apr, 2013 3 commits
  5. 22 Apr, 2013 5 commits
  6. 21 Apr, 2013 1 commit
  7. 18 Apr, 2013 6 commits
  8. 17 Apr, 2013 3 commits
  9. 16 Apr, 2013 7 commits