Hi, I am new to cobbler and I want to use triggers use to do some post install tasks, suck as create a system profile when the system finish the first boot from cobbler . I have read the docs at http://cobbler.github.io/manuals/2.6.0/4/4/1_-_Triggers.html. But still do not know how to call the triggers, which url I should send request to.
Hope somebody can provide detail docs for how triggers work, Thanks.
Hi,
Trigger requests are sent to URLs like:
http://<cobbler_host>/cblr/svc/op/trig/...
e.g.:
http://cobbler.local.domain/cblr/svc/op/trig/mode/post/system/server1
Check for example the kickstart_done snippet.
Hth, Tom.
On Fri, 2016-05-27 at 01:27 +0800, Libin Chen wrote:
Hi, I am new to cobbler and I want to use triggers use to do some post install tasks, suck as create a system profile when the system finish the first boot from cobbler . I have read the docs at http://cobbler.github.io/manuals/2.6.0/4/4/1_ -_Triggers.html. But still do not know how to call the triggers, which url I should send request to.
Hope somebody can provide detail docs for how triggers work, Thanks. -- Regards, Slgray _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted .org
Thanks, Thomas, I got it.
I think I should go through all the snippets and scripts to get started. If anyone have better idea to get started with cobbler.
Slgray.
2016-05-27 18:21 GMT+08:00 Thomas Hager duke@sigsegv.at:
Hi,
Trigger requests are sent to URLs like:
http://<cobbler_host>/cblr/svc/op/trig/...
e.g.:
http://cobbler.local.domain/cblr/svc/op/trig/mode/post/system/server1
Check for example the kickstart_done snippet.
Hth, Tom.
On Fri, 2016-05-27 at 01:27 +0800, Libin Chen wrote:
Hi, I am new to cobbler and I want to use triggers use to do some post install tasks, suck as create a system profile when the system finish the first boot from cobbler . I have read the docs at http://cobbler.github.io/manuals/2.6.0/4/4/1_ -_Triggers.html. But still do not know how to call the triggers, which url I should send request to.
Hope somebody can provide detail docs for how triggers work, Thanks.
Regards, Slgray _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted .org
-- Thomas "Duke" Hager duke@sigsegv.at GPG: 2048R/791C5EB1 http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups."
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
I recommend using Cobbler to do the following for you:
1) Manage your OS distributions 2) Deploy your systems (PXE, koan virtual boots) 3) Provide basic filesystem partitioning (the snippets are very useful for this) 4) Kickoff CM: either Chef, Puppet, ansible-pull, or other. This is what Cobbler-Web's Management Tab is for :)
If you have not used CM before, I strong recommend looking into Ansible as it has the least challenging learning curve: http://docs.ansible.com/ansible/intro_getting_started.html
Also, as it's been mentioned before on this list and elsewhere, the same guy who started the Cobbler project is the guy who started Ansible.
Good luck.
cobbler@lists.fedorahosted.org