Subject: Re: [vserver] Interface name problem when build a new vserver
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Mon, 8 Mar 2021 17:59:40 +0100

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.