Couple of minor changes to Management Console that would speed things
-
Thanks
-
Another suggestion that is sort of related to this is adding another value in the Host Management column, such as chassis Asset or system serial number. With most retail PCs they have these values listed on the chassis itself, while the MAC address is not. Having the serial right in your face makes it much easier to physically track down a PC.
If anyone has done this before, I’d like to know
FOG 1.0.1
Ubuntu 14.04 -
inside /fog/lib/hooks there is a file named AddHostSerial.hook.php
if you edit it to say var $active = true; it will list the serial numbers of the computers in the host view -
[quote=“Junkhacker, post: 27705, member: 21583”]inside /fog/lib/hooks there is a file named AddHostSerial.hook.php
if you edit it to say var $active = true; it will list the serial numbers of the computers in the host view[/quote]:eek: that’s awesome!!!
You can see the Models too if you do the same to fog/lib/hooks/AddHostModel.hook.php
-
That didn’t seem to work for me. Is there a service I should restart to take affect?
I made the changes from the installation directory as well as the web directory. Permissions in /var/www/fog/lib/hooks for .php files are 644, owner and group are both www-data. Install folder in documents is 664. Owner and group are fog. Permissions?
-
you did do a…
[CODE]
cd /var/www/fog/lib/hooks/
sudo nano AddHostSerial.hook.php
sudo nano AddHostModel.hook.php[/CODE]
Thats what i needed to execute to save the files. -
[quote=“Wolfbane8653, post: 27733, member: 3362”]you did do a…
[CODE]
cd /var/www/fog/lib/hooks/
sudo nano AddHostSerial.hook.php
sudo nano AddHostModel.hook.php[/CODE]
Thats what i needed to execute to save the files.[/quote]You mean did I use sudo? Yes, of course but it wasn’t necessary for the installation directory because I’m logged in with the “fog” user. I had to for the /var/www directory because the owner/group is www-data.
Just to be sure, what permissions are set in /var/www/fog/lib/hooks for you?
-
oh, sorry, i forgot that hooks were broken in 1.0.1
i am running svn release 1710. hooks are fixed in 1702 and what i described will work in the next official 1.x.x release of fog along with a few other bug fixes -
Running Fogv1.0.1-r1714… I think. Just updated this morning from the btsync update.
-
[quote=“Junkhacker, post: 27735, member: 21583”]oh, sorry, i forgot that hooks were broken in 1.0.1
i am running svn release 1710. hooks are fixed in 1702 and what i described will work in the next official 1.x.x release of fog along with a few other bug fixes[/quote]Oh, lol no problem. Can’t wait