suse - Silent client registration for Subscription Management Tool (SMT) -


in documentation subscription management tool (smt) suse repository management, there 4 ways register client smt server.

one of these running clientsetup4smt.sh script. documentation not explain way perform silent installation using script, there way achieve it?

we use bootstrap registration of new vm instances.

in source of clientsetup4smt.sh script following line of documentation can found:

usage: $0 --host <hostname of smt server> [--fingerprint <fingerprint of server cert>] [--yes] 

the 2 options --fingerprint , --yes options need.

--fingerprint ca certificate fingerprint. ca certificate can found on smt server @ http://fqdn/smt.crt (fqdn). alternatively can accessed @ /srv/www/htdocs/smt.crt.

getting fingerprint server done deliberately specifying invalid fingerprint in script's --fingerprint option:

clientsetup4smt.sh --host <hostname of smt server> --fingerprint 'somestring' --yes 

this return:

server fingerprint: <actual server fingerprint> , given fingerprint:  <wrong server fingerprint> not match, not accepting cert. abort. 

copy server fingerprint , paste command so:

clientsetup4smt.sh --host <hostname of smt server> --fingerprint '<actual server fingerprint>' --yes 

the above command run silently.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -