Shutdown after Quick Registration?
-
Can you show me the specific line in BootMenu.class.php
-
Sorry, check my above post ^
-
Okay here’s what I am seeing:
[code]/* print ($option == 'fog.reg’ ? "$this->kernel loglevel=4 $type shutdown=1\n" : “$this->kernel loglevel=4 $type\n”);*/[/code]You may have to physically type out, and remove the weird a characters from the line. Guessing you edited the file in windows?
-
Try this file:
[url=“/_imported_xf_attachments/1/1082_BootMenu.class.php?:”]BootMenu.class.php[/url]
-
No, edited directly on my ubuntu machine. Copied file over to thumb drive to get back on network with my windows machine to post here
-
OK, i tired your edit… matches exactly what i had on the ubuntu machine and still doesnt work
[code]
{
print “:$option\n”;
print ($option == ‘fog.reg’ ? “$this->kernel loglevel=4 $type shutdown=1\n” : “$this->kernel loglevel=4 $type\n”);
// print “$this->kernel loglevel=4 $type\n”;
print “$this->initrd”;
print “boot || goto MENU\n”;
}
[/code] -
What’s the output from the browser if you go to:
[url]https://FOGIPADDRESS/fog/service/ipxe/boot.php[/url] -
Blank white page
-
What’s the error logs?
-
Try this command (change fogwebdir to your proper fog web directory)
[code]wget -O fogwebdir/lib/fog/BootMenu.class.php http://mastacontrola.com/BootMenu.class.txt[/code] -
[FONT=Consolas]wget -O 192.168.1.200/fog/lib/fog/BootMenu.class.php [url]http://mastacontrola.com/BootMenu.class.txt[/url][/FONT]
[FONT=Consolas]No Such file or Directory[/FONT]
[FONT=Consolas] [/FONT] -
Sorry about the delay.
The command you’ve got is wrong.
It should be:
[code]wget -O /var/www/fog/lib/fog/BootMenu.class.php http://mastacontrola.com/BootMenu.class.txt[/code]