Extended fog variables
-
Re: Extended fog variables problem.
Hey I have the same problem on the newest version of fog 1.5.7.
I can’t get the script to work.curl -A "" -Lkso /tmp/hinfo.sh ${web}service/hostinfo.php -d "mac=$mac"
Gives me hinfo.sh that outputs:
Invalid tasking!
If I use the curl command without the -A the cat/tmp/hinfo.sh outputs Cannot view from browser.
The web url is good because without the mac the output was Invalid MAC Address!
So the problem in the code is the -A argument of curl.
Anyone know a solution?
-
@pete said in Extended fog variables:
Invalid tasking!
The message seems pretty clear. There is no valid task scheduled for this host at the moment this is running. So I am wondering if you scheduled a task in the web UI or if you try to directly deploy from the iPXE FOG menu?
-
I had a debug task running through the web GUI.
-
@george1421 @Greg-Plamondon Can anyone of you confirm this is an issue with FOG 1.5.7?
-
@Sebastian-Roth I can confirm it as soon as I get home in a bit.
-
@Sebastian-Roth @pete Tested a host with debug tasking. With the
-A ""
argument it works fine, without it Cannot view from browser