> I don't like the inheritance of the dom0 apt settings as they are
> correct only if the target VM is of the same type as dom0. IOW, using a
> debian dom0's apt setup to build an ubuntu VM is probably wrong as the
> mirror/proxy could be different.
> Leaving it as a cmdline arg would be preferable IMHO.

An alternative approach would be to be able to specify an apt proxy server within xen-tools. This would then be used by debootstrap and by the guest system.

Some of my custom role scripts involve adding custom apt repositories, so this has the advantage of using the proxy for all of them as well.

I've implemented this here: https://gitorious.org/~alext/xen-tools/alext-xen-tools/commits/apt_proxy

thanks,
Alex
--
Alex Tomlins    
Unboxed
Consulting

E: [email protected] <mailto:[email protected]>
M:      +44 7824 696 890
T:      +44 20 3137 2930
F:      +44 20 7183 4251

        
17 Blossom Street
London, E1 6PL
United Kingdom
www.unboxedconsulting.com <http://www.unboxedconsulting.com>




--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to