Vreman, Peter - Acision wrote:
Changing the netboot to enable does not work anymore without running
the sync command. The reason is that the dhcp template does not
generate the next_server and filename lines for a host when netboot is
disabled.
My proposal is to split the code single sync.run() into multiple
methods .run_dhcp(), .run_dns() and .run_files(). The .run() will then
call all the specific methods.
Peter
This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be
copied, disclosed to, retained or used by, any other party. If you are
not an intended recipient then please promptly delete this e-mail and
any attachment and all copies and inform the sender. Thank you.
------------------------------------------------------------------------
_______________________________________________
cobbler-devel mailing list
cobbler-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler-devel
I've removed the logic from the template.
Thanks!