if [ "$HOSTNAME" = "mjstest7" ]; then IPADDR1="16.21.17.47" NETMASK1="255.255.248.0" fi if [ "$HOSTNAME" = "mjstest8" ]; then IPADDR1="16.21.17.48" NETMASK1="255.255.248.0" fi
chroot /a/ systemconfigurator --excludesto=/etc/systemimager/systemconfig.local.exclude --configsi --stdin << EOL || shellout
[NETWORK]
HOSTNAME = $HOSTNAME
DOMAINNAME = $DOMAINNAME
[INTERFACE0] DEVICE = eth0 TYPE = static IPADDR = $IPADDR NETMASK = $NETMASK
[INTERFACE1] DEVICE = eth1 TYPE = static IPADDR = $IPADDR1 NETMASK = $NETMASK1 EOL
and sure enough, it sets up /etc/sysconfig/network/ifcfg-eth1 as expected with one set of network parameters on 1 system and the other set on the other one. however, redhat doesn't use that file to configure the network. service network restart does NOT cause those changes to take place. However, if I copy that file into /etc/sysconfig/networking/profiles/default/ and restart the network they DO take effect. Does this mean SystemConfigurator needs to make a copy of that file in both directories when it runs on redhat? Is this a known problem?
-mark
------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Sisuite-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/sisuite-users
