On Sun, Mar 27, 2005 at 10:07:14AM -0800, [EMAIL PROTECTED] wrote:
>  sub write_sc_command {
>      my ( $out, $ip_assignment_method ) = @_;
> +
> +    # Configure the network device used to contact the image-server -AR-
> +    print $out "[ -z \$DEVICE ] && DEVICE=eth0\n";
> +    
>      my $sc_excludes_to = "/etc/systemimager/systemconfig.local.exclude";
>      my $sc_cmd = "chroot /a/ systemconfigurator 
> --excludesto=$sc_excludes_to";
>      if ($ip_assignment_method eq "replicant") {
> @@ -1595,7 +1599,7 @@
>      print $out "\n";
>  
>      print $out "[INTERFACE0]\n";
> -    print $out "DEVICE = eth0\n";
> +    print $out "DEVICE = \$DEVICE\n";

I don't think you should change this last portion.  There are a lot of users
that make assumptions on [INTERFACE0] ending up to be eth0 (including the
OSCAR folks) and changing that to be the install interface will break
some other things.

The right thing is doing multiple interfaces through SystemImager.  So while
shutting down $DEVICE is definitely a good thing, setting up $DEVICE by
default with SystemConfigurator is a change in behavior that is going to
break some people.

        -Sean

-- 
__________________________________________________________________

Sean Dague                                       Mid-Hudson Valley
sean at dague dot net                            Linux Users Group
http://dague.net                                 http://mhvlug.org

There is no silver bullet.  Plus, werewolves make better neighbors
than zombies, and they tend to keep the vampire population down.
__________________________________________________________________

Attachment: pgpz9niuqtWow.pgp
Description: PGP signature

Reply via email to