Cobbler Python API
by wadud.miah@barclays.com
Hello,
I am just browsing through the Cobbler Python API and would like to write a post install script that uses this API. I have the following questions:
1. Is the post-install script executed on the installed host (client) or on the Cobbler server?
2. If the script is executed on the installed host (client) is there a function that returns the current hostname when the post install script is executed on the installed host? I know I could obtain that from the $HOSTNAME environment variable, but I prefer to use the API.
Thanks in advance,
Wadud.
--------------------------------------------------
Dr. Wadud Miah
Specialised Trading Engineering, London
wadud.miah(a)barclays.com
+44 20 7773 4667
_______________________________________________
This message is for information purposes only, it is not a recommendation, advice, offer or solicitation to buy or sell a product or service nor an official confirmation of any transaction. It is directed at persons who are professionals and is not intended for retail customer use. Intended for recipient only. This message is subject to the terms at: www.barclays.com/emaildisclaimer.
For important disclosures, please see: www.barclays.com/salesandtradingdisclaimer regarding market commentary from Barclays Sales and/or Trading, who are active market participants; and in respect of Barclays Research, including disclosures relating to specific issuers, please see http://publicresearch.barclays.com.
_______________________________________________
8 years, 9 months