diff --git a/README.md b/README.md index 01a47a0..7a98aee 100644 --- a/README.md +++ b/README.md @@ -33,15 +33,17 @@ The following commands should work on Linux Mint 19 (and possibly on any Debian ```bash apt update -apt install git vagrant lxc-templates lxctl lxc cgroup-lite redir bridge-utils libc6 libvirt-clients debootstrap +apt install git vagrant lxc-templates lxctl lxc cgroup-lite redir bridge-utils libc6 debootstrap vagrant plugin install vagrant-lxc echo "cgroup /sys/fs/cgroup cgroup defaults 0 0" | sudo tee -a /etc/fstab sudo mount /sys/fs/cgroup lxc-checkconfig echo "veth" | sudo tee -a /etc/modules -wget https://raw.githubusercontent.com/fgrehm/vagrant-lxc/2a5510b34cc59cd3cb8f2dcedc3073852d841101/lib/vagrant-lxc/driver.rb -o .vagrant.d/gems/2.5.1/gems/vagrant-lxc-1.4.2/lib/vagrant-lxc/driver.rb +wget https://raw.githubusercontent.com/fgrehm/vagrant-lxc/2a5510b34cc59cd3cb8f2dcedc3073852d841101/lib/vagrant-lxc/driver.rb -O ~/.vagrant.d/gems/2.5.1/gems/vagrant-lxc-1.4.2/lib/vagrant-lxc/driver.rb ``` +(in the last command, you might want to adapt the `gems/2.5.1` folder) + If you run Archlinux, this page should be quite useful to setup LXC : https://github.com/fgrehm/vagrant-lxc/wiki/Usage-on-Arch-Linux-hosts Then, go into your favorite development folder and deploy ynh-dev with :