On Tue, Mar 12, 2013 at 7:34 AM, Personal Técnico <[email protected]>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.
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to