#40 FIx: custom kernel not assigned on multicast deplyment

Unstable (example)
closed
mastacontrola
None
5
2014-05-26
2011-03-07
Unai
No

there is a bug in the header of createImagePackageMulticast fucntion (line 2816 on file www/fog/comms/functions.include.php)
It shoutd be:

function createImagePackageMulticast($conn, $member, $taskName, $port, &$reason, $debug=false, $deploySnapins=true, $shutdown="", $kernel="", $otherargs="" )

instead of:
function createImagePackageMulticast($conn, $member, $taskName, $port, &$reason, $debug=false, $deploySnapins=true, $shutdown="", $kernel="", $otherargs="", $kernel="", $otherargs="" )

the kernel variable is assigned twice (at first with the correct value and then with an empty string), and its value always daults to "bzImage"

best regards,
Unai

Discussion

  • mastacontrola
    mastacontrola
    2014-05-26

    • status: open --> closed
    • assigned_to: mastacontrola
    • Group: --> Unstable (example)
     
  • mastacontrola
    mastacontrola
    2014-05-26

    The kernel is now assigned at boot time, not on job time. Hopefully this helps and ultimately means we can boot to FOG even for the "default" menu using the custom kernel.

    Thank you,