Re: Interface name problem when build a new vserver
Herbert Poetzl <[email protected]> Mon, 8 Mar 2021 17:59:40 +0100
| Newsgroups | gmane.linux.vserver |
|---|---|
| Message-ID | <[email protected]> |
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.