[lxc-users] /etc/lxc/lxc-usernet no such file

Serge E. Hallyn serge at hallyn.com
Sat Apr 20 19:35:32 UTC 2019


On Sat, Apr 20, 2019 at 05:00:11PM +0000, wisdomlight at protonmail.com wrote:
> Thanks Serge
> 
> So i create the file lxc-usernet in /etc/lxc
> I append the following in capital
> 
> USERNAME TYPE BRIDGE COUNT
> 
> Afterwhich I add
> 
> username veth lxcbr0 10 to my newly created lxc

Mine is:

```
# USERNAME TYPE BRIDGE COUNT
serge veth lxcbr0 10
```

> Do i need to add the second line in capitals?

No.

> Do i need to put a # before the line?

Only before lines which are comments.

> Which package should I install in order for the lxc-user-nic to be installed

That depends on what distro you are on.  But since you have
lxc-user-nic maybe you'll be fine now.

> In /usr/lib/x86_64-linux-gnu/lxc i have lxc-user-nic
> here's the info
> 
> > root at sherab-pureos:/usr/lib/x86_64-linux-gnu/lxc# file lxc-user-nic
> > lxc-user-nic: setuid ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=c90f192607b75464612a0b4221b4fc622eca9834, stripped
> 
> Sherab


More information about the lxc-users mailing list