mirror of
https://github.com/YunoHost/ynh-dev.git
synced 2024-09-03 20:05:59 +02:00
Small fix for dependencies instructions
This commit is contained in:
parent
98d5a272a4
commit
b0b73cde1d
1 changed files with 4 additions and 2 deletions
|
@ -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 :
|
||||
|
|
Loading…
Add table
Reference in a new issue