fgrehm/vagrant-lxc

sh: 1: MOUNT: not found

Closed this issue · 2 comments

Hi,

I'm on Debian Jessie, lxc 2.0.1 and vagrant-lxc 2.1

Using vagrant up, I got the following output:

Bringing machine 'default' up with 'lxc' provider...
==> default: Setting up mount entries for shared folders...
    default: /vagrant => /var/lib/jenkins/workspace/checkout-infra-ansible-repo/bluesolutions
==> default: Starting container...
==> default: Waiting for machine to boot. This may take a few minutes...
There was an error executing ["sudo", "/usr/local/bin/vagrant-lxc-wrapper", "lxc-attach", "--name", "vb1.staging.acme", "--namespaces", "'NETWORK|MOUNT'", "--", "/sbin/ip", "-4", "addr", "show", "scope", "global", "eth0"]

Launching the command by hand, I got the following error:

sudo /usr/local/bin/vagrant-lxc-wrapper lxc-attach --name vb1.staging.acme --namespaces 'NETWORK|MOUNT' -- /sbin/ip -4 addr show scope global eth0
sh: 1: MOUNT: not found

How can I solve this issue? Thanks. Let me know if you need more information.

Maybe more information are needed?

Probably a duplicate to #308.