[cobbler] Run command from the server

James Cammarata jimi at sngx.net
Tue Mar 12 12:36:52 UTC 2013


On Tue, Mar 12, 2013 at 7:34 AM, Personal Técnico <tecnicos at caos.uab.es>wrote:

>  Hi,
>
> We're trying to run a command from the server to the new node, after the
> post-install in a kickstart file. We have tried to create a bash script
> file and copy it into the triggers folder (/var/lib/cobbler/triggers/) or
> into a subfolder of them, but this script is not executed in the kickstart.
>
> What is the correct way for telling Cobbler that I want to execute a
> script (trigger)* from the server* (not from the new node)? My purpose is
> execute a tool for synchronize some files from the server to the nove
> (we're testing a free tool called Synctool -->
> http://www.heiho.net/synctool).
>
> "run_install_triggers:1" in settings, but we don't get what we want. We
> have copied our script in /var/lib/cobbler/triggers/install/firstboot and
> /var/lib/cobbler/triggers/install/post, but not work (script is not
> executed)
>

Are you including the $SNIPPET("kickstart_done") line at the end of your
%post section? That is what triggers the post snippets to run on the
server.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20130312/565b0e7d/attachment.html>


More information about the cobbler mailing list