From e7adc00728db535ff05bada15cfa5597b7542623 Mon Sep 17 00:00:00 2001 From: varac Date: Sat, 5 Nov 2016 13:16:18 +0100 Subject: First working lxc build --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 7c0db34..87d0339 100644 --- a/README.md +++ b/README.md @@ -3,11 +3,12 @@ ## Currently supported - Debian Jessie -- qemu and virtualbox +- qemu, virtualbox and lxc ## Customization - puppet, facter are pre-installed +- Permit root ssh login with password `vagrant` ## Building locally @@ -15,6 +16,16 @@ This example builds only for the qemu provider. packer build -only=qemu jessie.json +## LXC + +to build a lxc box, install https://github.com/fgrehm/vagrant-lxc first + +You need to run packer with sudo: + + sudo -E packer build -only=lxc jessie.json + +Cache dir is at `/var/lib/lxc/packer-lxc/rootfs`. + ### Issues -- cgit v1.2.3