Re: [vserver] Interface name problem when build a new vserver

From: Herbert Poetzl <herbert_at_13thfloor.at>
Date: Mon 08 Mar 2021 - 16:59:40 GMT
Message-ID: <20210308165940.GE23989@MAIL.13thfloor.at>

On Mon, Mar 08, 2021 at 05:47:30PM +0100, Sam Przyswa wrote:
> Hi,

Hello Sam!

> I noticed a problem with the name of the virtual network
> interface in the style 'enp1s0: 1' as:

> /usr/lib/util-vserver/vserver-build -n vserver \
>     --initstyle sysv --interface 'enp1s0:2':51.158.25.140/24 \
>     -m debootstrap -- -d stretch

Why would you have/want a network interface name with
a colon in it?

Best,
Herbert

> this returns an error message and stops building the guest,
> we have to use:

> /usr/lib/util-vserver/vserver-build -n vserver \
>     --initstyle sysv --interface eth0:51.158.25.140/24 \
>     -m debootstrap -- -d stretch

> And then change the name interface by and in
> /etc/vservers/<vserver>/interfaces

> Sam.
Received on Mon Mar 8 16:57:36 2021

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 08 Mar 2021 - 16:57:36 GMT by hypermail 2.1.8