-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

tim wrote:

> Faced with having to re-ip a set of machines that have ip address hard
>coded all over the place in various application and system configuration
>files, what would be the best way to globally change them?

while (<handle to /etc/sysconfig/network>) {
        s/^BOOTPROT0.*/BOOTPROTO=dhcp/
}

Or was that a trick question ... ?

- -d

- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPM8i5b9BpdPKTBGtEQKf2QCggZuKqO8jtrDv2b+04il0PB7fo4oAoKOr
P4zJpAndp9B3Fh0KGJpn6BU9
=F/1N
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to