Re: Scripting thn_register
Michael Redinger <[email protected]>
| Newsgroups | gmane.network.up2date.current.devel |
|---|---|
| Message-ID | <[email protected]> |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Didn't try this, but it should work ... - - set the server in the config files - - man rhnreg_ks Michael On 29 Jul 2002, John Hearns wrote: > Has anyone had much success with scripting rhn_register? > > I would like to run rhn_register automatically as a post-install > step. We would liek to automate installs as much as possible, > and running rhn_register is not feasible. > > > This won't work for me: > rhn_register --nox --configure \ serverURL=https://server:8081/XMLRPC > > I could use Expect to script it I suppose. > > Another way of doing things is just to supply a > /etc/sysconfig/rhn/rhn_register and systemid pre-configured as part of > an RPM at install time. > That sounds ok - but all systems will then have the same systemid. > Maybe will cause problems in the future? - -------------------------------------------------------------------- Michael Redinger Zentraler Informatikdienst Universitaet Innsbruck Technikerstr. 13 Tel.: +43 512 507 2335 A-6020 INNSBRUCK Fax.: +43 512 507 2944 Austria E-Mail: [email protected] - -------------------------------------------------------------------- "One ping to rule them all, One ping to find them, One ping to bring them all, and in the darkness bind them." -----BEGIN PGP SIGNATURE----- Version: PGP 6.5.8 iQA/AwUBPUUaOA/XqdllwsEdEQLXigCcCH9pca2u2q1iaCr79Fhdm1fRjbgAoI2Y NVO6c14fURzNuKT3c5KlayUs =0Swk -----END PGP SIGNATURE-----