Latest FOG 0.33b
-
Hey tom how you been. I can take a look and ask around and see if I can find any issues with it
-
If you’re up-to-date on the revision (current 1195) then please take a look in src/buildroot/package/fog/scripts/bin/fog.download
There’s some bug in there I’m unable to track down. I’m guessing it’s between the MBR parts and the Partclone parts, but I just can’t see it.
-
A couple of bugs in fog configuration, pxe boot menu page, under advanced configuration options.
- textarea box not being populated with FOG_PXE_ADVANCED setting from globalSetting table.
- FOG_PXE_ADVANCED, only written to pxemenu, not saved to globalSetting table as well.
I’ve also increased the size of the text area.
Relevant for us as we have several other entries in the boot menu, dell diags etc.
fixed in the attached file.
[url=“/_imported_xf_attachments/0/538_FOGConfigurationPage.class.zip?:”]FOGConfigurationPage.class.zip[/url]
-
Ok I am looking into it now.
-
I will definitely take a look. I am preparing to go to the hospital for a CT Scan and possibly biopsy, so I’ll be out for a couple hours probably.
When I get back, so long as I’m not drugged too badly, I’ll try to correct this.
-
ok good luck man take care.
-
Hope all OK, been through similar myself.
-
Alright so I’m a work horse.
r1196 released. I made some more changes to init.gz though I doubt they’ll work so will need more debugging I’m sure.
FOG Configuration page now saves the PXE Advanced, though slightly different than how jbsclm recommended, it’s ultimately the same.
Thank you,
I’ll see you all later.
-
r1197 released to fix a typo i made for the advanced Text info stuff.
It should display if there’s information to pull from FOG_PXE_ADVANCED
If not, it works like we’re used to.
-
I’m still using FOG 0.32. I really miss two features: in image manager i’d like to know the date of when latest upload of the image was done. Knowing the date of when it was created is of no use, I think. Could this be implemented? In the client manager i’d like to know when each host had the latest deploy. Deploying a lot of notebooks now and then it not done by deploying a whole group as I deploy a machine when an employer come to my office with problems. It is quite hard to keep track of who I have to get in contact with as it it long time since last deploy. If the latest deploy date could easily be displayed in the host list that would be nice. Any thoughts about this?
-
I like that pmonstad. I too have my curiosities as to when a machine is imaged. Sometimes I have a machine go down mid year and it gets my updated image, I would like to not image him again if possible. If I had a section of the GUI that output the last time I imaged the guy, I would know to skip it and keep on trucking.
-
What about the task management page? It now supports searching and should show the time it was performed. It sorts by the id of the task number in desc order so the host on top was the most recent task.
-
[quote=“Tom Elliott, post: 22561, member: 7271”]What about the task management page? It now supports searching and should show the time it was performed. It sorts by the id of the task number in desc order so the host on top was the most recent task.[/quote]
Yes but it doesn’t list the date so I don’t know if i has my “most recent” image on it already or not
-
What do you mean? It shows the start date of the job. Though there could be some delay in the task it shouldn’t be too far off of an accurate picture of when the job happened. I will be adding searching based on image name in the near future though.
-
[quote=“Tom Elliott, post: 22563, member: 7271”]What do you mean? It shows the start date of the job. Though there could be some delay in the task it shouldn’t be too far off of an accurate picture of when the job happened. I will be adding searching based on image name in the near future though.[/quote]
Hmm maybe we aren’t on the same page… I don’t mean an active task, I mean a task that is already completed. I don’t see that information (I am only accessing 0.32 at the moment though.) When I search the Task Management it will display all the hosts in sequential number order, regardless of last time I imaged, or image used.
Sometimes I upload a few images, Student Summer, and Student Winter. Student Winter being the image I blast on them all right before State testing time.
To be specific I have a lab in room 406 used by students in my Redding building. They live under the naming convention “RS406-*” I re-imaged RS406-18 three days ago, when I look in the Task managment, I do not see this host listed at the top even though it was the most recent task. If I enter “RS406” and search all the hosts are displayed RS406-1 all the way to RS406-32 in numerical order.
I would instead like to be displayed with something to the affect of
[code]
Host Name MAC Deploy Image Used Upload Date Imaged Advanced
RS406-18 00:24:21:xx:xx:xx Student Winter 02/03/2014
[/code]
NOW I do NOT think this is a make or break feature, definitely a LuxuryDefinitely not a concerning piece, or an important piece. Maybe if things get slow one day
-
Hi Tom, hope you are feeling OK. just checking out your 1197 version of FOGConfigurationPage.Class.php, unfortunately it still has problems
It doesn’t populate the text area, due to “print” missing on line 423.Line 423 needs to be as below, I’ve also increased the height of the text box from 5 to 25, to make it more usable for those of us who have several other boot menu entries.
<textarea rows=“25” cols=“64” name=“adv”><?php print $this->FOGCore->getSetting( “FOG_PXE_ADVANCED” ) ?></textarea></div></td>also it doesn’t save the setting to “FOG_PXE_ADVANCED” due to a typo on line 479
if ($advandedOpts)
should be
if ($advancedOpts)
However even after this is corrected, submitting with the textarea empty results in the database not being updated, although the pxe menu file is updated.
Omitting line 479 means that the extra menu items are removed from both the database and the pxe menu.
If you leave the line in you would need to include lines 480 to 484 in the if statement, however this would mean that you couldn’t remove the extra items.
Hope this makes sense. -
I think I know what you’re saying.
I made a typo, sorry quick implementation before I had to go to the doctors.
I understand to that the if means it only updates the information if there’s data in the text area. There may be times we don’t care about the data, so removing the if statement is probably the more logical choice.
-
r1199 released to fix that.
Sorry about the oversight.
-
Thanks.
Just one more thing, can you increase the height of the textarea box, currently set at 5, which makes it a pain when we have several extra menu items.
It is line 423, change rows=“5” to rows=“25”;
Other than that the code looks OK, I’ll test properly tomorrow. -
Does your text area allow you to make the size larger with click and drag?
I don’t mind adding the extra lines, that’s too easy of a fix, but layout wise it make the page much longer than necessary.