[Users] Suggestion for a new parameter: PRIMARY_IP

Marcin Owsiany marcin at owsiany.pl
Sun Jan 4 08:20:11 EST 2009


On Sat, Jan 03, 2009 at 05:28:40PM -0500, Sterling Windmill wrote:
> How do "real" linux distributions handle this? 

On a non-virtualized system you just configure your /etc/hosts and
/etc/network/interfaces the way you like.

OpenVZ in turn rewrites these files with information from the
container's config file on each container boot. The problem is that the
order of the IP addresses in the container's config dictates the order
in both system config files. There is currently no way to make them
different.

-- 
Marcin Owsiany <marcin at owsiany.pl>              http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216
 
"Every program in development at MIT expands until it can read mail."
                                                              -- Unknown


More information about the Users mailing list