[katello-devel] client bootstrap script for easy registration
Eric Sammons
esammons at redhat.com
Wed Feb 8 21:45:33 UTC 2012
On second thought the rpm approach may not be ideal as it creates a dependency; rpm-build would be required and may not be a good idea for some of our customers.
Mike McCune <mmccune at redhat.com> wrote:
I got annoyed having to follow the client registration steps:
https://fedorahosted.org/katello/wiki/GuideSystemRegistrationClient
so I wrote a script to do these things automatically. You can find it here:
http://git.fedorahosted.org/git?p=katello.git;a=blob_plain;f=scripts/bootstrap.sh;hb=HEAD
or in git under scripts/bootstrap.sh
You run it and it reconfigures your rhsm.conf to point at the $1
hostname you are wanting to register the system to. It also SCPs the
candlepin cert file to the client as well. The next steps will be to
modify our katello-configure RPM to symlink that cert to
/var/www/html/pub so clients can just download it directly.
I submitted a bug + patch for if/when we want to do this bootstrap thing
for real:
https://bugzilla.redhat.com/show_bug.cgi?id=788708
Mike
--
Mike McCune
mmccune AT redhat.com
Red Hat Engineering | Portland, OR
Systems Management | 650.254.4248
_______________________________________________
katello-devel mailing list
katello-devel at redhat.com
https://www.redhat.com/mailman/listinfo/katello-devel
More information about the katello-devel
mailing list