[Pkg-uml-pkgs] Bug#498974: rootstrap: Should have option to not set host (tapX) address, e.g. if already in bridge
Daniel Dickinson
cshore at fionavar.ca
Mon Sep 15 00:20:24 UTC 2008
Package: rootstrap
Version: 0.3.24-5
Severity: normal
I had to hack on rootstrap to tell it to not configure an address on may tap0 device because it is already configured and in a bridge. This should be possible with an appropriate parameter. I attach my diff (but it's not a patch because there are people who need the current behaviour).
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages rootstrap depends on:
ii debootstrap 1.0.10 Bootstrap a basic Debian system
ii dpkg 1.14.22 Debian package management system
ii python 2.5.2-2 An interactive high-level object-o
ii user-mode-linux 2.6.26-1um-2 User-mode Linux (kernel)
Versions of packages rootstrap recommends:
ii uml-utilities 20070815-1.1 User-mode Linux (utility programs)
Versions of packages rootstrap suggests:
ii dhcp3-client 3.1.1-3 DHCP client
ii dhcp3-server 3.1.1-3 DHCP server for automatic IP addre
-- no debconf information
-------------- next part --------------
--- rootstrap 2008-09-14 20:17:06.000000000 -0400
+++ /usr/bin/rootstrap 2008-09-14 19:16:19.000000000 -0400
@@ -80,8 +80,8 @@
host_if = config.get('network','host_if')
else:
host_if = ''
- hostaddr = config.get('network', 'host')
- umlargs.append('%s=%s,%s,,%s' % (netif,transport,host_if,hostaddr))
+# hostaddr = config.get('network', 'host')
+ umlargs.append('%s=%s,%s' % (netif,transport,host_if))
elif transport == 'slirp':
umlargs.append('%s=slirp,,%s' % (netif, config.get('network','slirp','slirp')))
elif transport == 'daemon':
More information about the Pkg-uml-pkgs
mailing list