Extended fog variables in multicast
-
Hi,
FOG 1.5.8
In post install, we get fog variables with
curl -A “” -Lkso /tmp/hinfo.txt ${web}service/hostinfo.php -d “mac=$mac”
It’s works fine in deploy mode, but it doesn’t work in multicast mode.Apache error_logs :
[proxy_fcgi:error] [pid 7589:tid 140504964466432] [client xxx:xxx] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to a member function get() on null in pathweb/fog/service/hostinfo.php:97\nStack trace:\n#0 {main}\n thrown in pathweb/fog/service/hostinfo.php on line 97\n’the file /tmp/hinfo.txt is empty.
-
@jc35 Thanks for bringing this up. Found and fixed the issue in
dev-branch
. It’s a fairly simple fix and you might want to add that manually for now as a quick fix for you: https://github.com/FOGProject/fogproject/commit/b69ca5b9e30765f5e751fe09c724c063d7a73d5fModed topic to bug reports.
Fixed in working-1.6 as well.
-
Thanks it’s ok !
-
Hi,
with the modification of “hostinfo.php”, it’s works fine.
Thank you very much.