On Thu, 2007-05-31 at 09:27 -0400, Elias Hunt wrote:

> network --device eth0 --bootproto static --ip 192.168.1.5 --netmask
> 255.255.255.0 --gateway 192.168.1.1 --device eth1 --bootproto dhcp
> --nameserver 192.168.1.5,192.168.1.6,192.168.1.110,192.168.1.111
> --hostname livecd-test.m2s.com

        AFAIR you want:

  network --device eth0 --bootproto static -ip ...
  network --device eth1 --bootproto dhcp ...

> The first problem we’re having is that only the first nameserver is
> actually being put in the /etc/resolv.conf file.

        Ah, that's a bug. Patch attached.

> The second problem is that the eth0 interface showed up unconfigured,
> and eth1 was set to dhcp as expected.

        That sounds like it's caused by having both devices on the one network
line. Split the line up.

Cheers,
Mark.

--- a/creator/livecd-creator
+++ b/creator/livecd-creator
@@ -623,7 +623,7 @@ class InstallationTarget:
                 if len(nameservers) >= 1:
                     primaryns = nameservers[0]
                 if len(nameservers) >= 2:
-                    secondayns = nameservers[0]
+                    secondaryns = nameservers[1]
 
         self.writeNetworkConfig(instroot, useipv6, hostname, gateway)
         self.writeNetworkHosts(instroot, hostname)
--
Fedora-livecd-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/fedora-livecd-list

Reply via email to