You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2022. It is now read-only.
So when we run vagrant up, the container start but we have the following error :
╰─[zsh] vagrant up 127 ↵
Bringing machine 'default' up with 'lxc' provider...
==> default: Checking if box '{ an existing box }' is up to date...
==> default: Starting container...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 10.0.3.187:22
default: SSH username: vagrant
default: SSH auth method: private key
verify_host_key: false is deprecated, use :never
==> default: Machine booted and ready!
==> default: Setting up private networks...
There was an error executing ["/usr/bin/env", "~/.vagrant.d/gems/2.3.3/gems/vagrant-lxc-1.4.3/scripts/pipework", "lxcbr1", "test6_default_1596017521854_84661", "172.16.2.1/24"]
For more information on the failure, enable detailed logging by setting
the environment variable VAGRANT_LOG to DEBUG.
With debug, the following error occured :
stderr : RTNETLINK answers: Operation not permitted
Even if the user is allowed to add veth on lxcbr1 in the lxc configuration :
user@vagrant-host ~ # cat /etc/lxc/lxc-usernet
{ user } veth lxcbr1 10
{ user } veth lxcbr0 10
It seems to be related to the fact that pipework script has to be run with a sudo, wich is not available when containers are run as a non-root user.
The text was updated successfully, but these errors were encountered:
Hey, sorry for the silence here but this project is looking for maintainers 😅
As per #499, I've added the ignored label and will close this issue. Thanks for the interest in the project and LMK if you want to step up and take ownership of this project on that other issue 👋
Hello,
we're trying to setup a private network that using unprivileged containers. The Vagrantfile is as follow :
and the config.yml file is :
The generated config file under ~/.local/share/lxc/{container_name}/config contains :
So when we run vagrant up, the container start but we have the following error :
With debug, the following error occured :
Even if the user is allowed to add veth on lxcbr1 in the lxc configuration :
It seems to be related to the fact that pipework script has to be run with a sudo, wich is not available when containers are run as a non-root user.
The text was updated successfully, but these errors were encountered: