[xen-tools-dev] [PATCH] Use dom0 resolv.conf when chrooting

Nathan O'Sullivan nathan at mammoth.com.au
Thu Jul 15 23:59:02 CEST 2010


> I see two solutions :
>   - add ip2,netmask2,...,ip3,netmask3,etc :
>     this is _not_ beautiful code, but works, and xen doesn't support
> more than 3 vifs anyway.
>   - add a new config option "vif = {ip, netmask, broadcast, gateway}"
> where gateway can be empty
>     _deprecate_ options "ip", "netmask", "gateway", "broadcast", but
> use them if they are present.
>     this is my preferred solution.
>    

To me, multiple vif configuration is far enough away from standard usage 
that it seems a big illogical to include it in the core code base. What 
I personally would like to see is a way to pass role-specific arguments 
through to roles, which would enable this scenario without requiring the 
core to expand to support every use case there is.

Regards
Nathan


More information about the xen-tools-dev mailing list