On Thu, Mar 29, 2007 at 12:10:03AM +0900, Junichi Uekawa wrote: >> The below patch only overwrites the /etc/network/interfaces in >> the chroot if a UML_IP is specified, and refuses to do so when >> a COWFILE has not been specified, or if pbuilder-uml.conf has >> UML_IP=dhcp >> in it.
> Hmm... will it break for pbuilder-user-mode-linux create/update ? > COWFILE is not specified for pbuilder-user-mode-linux create and > update, and what would that mean? In those cases, it should use the /etc/network/interfaces already configured in the chroot in the UML image. (ie the configuration specified at rootstrap time, whether DHCP or a static IP) The network configuration to use without a COWFILE can be changed by logging in without a COWFILE and just editing the /etc/network/interfaces file by hand. The only issue I have is that the user-mode-linux processes all seem to have the same MAC address, so get the same IP from the dhcp server. I believe there's an option you can put after daemon to make it generate a random MAC, but I haven't yet worked out how to activate it. (Or rather, activating it looks easy, but it seems to then be discarded in favour of fe:fd:00:00:00:00 if I'm reading the code correctly) -- ----------------------------------------------------------- Paul "TBBle" Hampson, B.Sc, LPI, MCSE On-hiatus Asian Studies student, ANU The Boss, Bubblesworth Pty Ltd (ABN: 51 095 284 361) [EMAIL PROTECTED] Of course Pacman didn't influence us as kids. If it did, we'd be running around in darkened rooms, popping pills and listening to repetitive music. -- Kristian Wilson, Nintendo, Inc, 1989 License: http://creativecommons.org/licenses/by/2.1/au/ -----------------------------------------------------------
pgppPudpTZfa0.pgp
Description: PGP signature

