Latest FOG 0.33b
-
No,
I’ve been trying to replicate the issues you’re seeing as I’m just not seeing it. That’s part of why I added the output of what partitions it thinks it has. The partitions you’re seeing are what’s created directly after the MBR or GPT tables are generated. My question about this issues though, is the BIOS set to SecureBoot and UEFI? And the OS is installed as MBR? I might think about, basically, righting the MBR/GUID tables twice and still outputting the partitions. This might help out with what we’re seeing.
-
I use VirtualBox for testing and there I have no UEFI activated. The only thing that I do is, I clean the disk with gparted, removing all partitions.
-
Well,
I added sgdisk -Z which removes all partitions (GPT or MBR) and mbr data before “installing” the new partition tables.
-
I think I found the issue. I’m a dumb*** lol.
Basically, I used copy paste which by itself is fine. Except the line that’s supposed to remove the partitioning tables for MPS tasks was:
[code]sgdisk -Z $disk >/dev/null[/code]
The problem with this is that it works perfectly with MPA format because I have a variable called Disk. in MPS it only needs to worry about the current hard disk.
So I’m uploading right now.
r1206 should fix the mbr issue. Maybe it’ll work properly now? Please test and let me know. Sorry about that over sight. It’s only piece of code to look through 400 lines so I hope you’ll understand my mistake there.
-
r1207 released.
I was finally able to replicate the error exit issue described above.
My systems would work, as far as I could tell, because the partition tables weren’t truly changed on my systems.
So I completely wiped my drive and tried again, finally able to replicate the issue. It looks like the first iteration the partition table doesn’t actually get written.
So the interim fix is to add the fdisk command to simply write the tables to the disk.
-
hey question for you tom is there any way to inject items into the image a addon-image if you will?
-
Not easily, though I’ve heard of people doing this kind of thing with partclone images, I’ve never done this myself. Theoretically it is possible with partclone, but I don’t know how to do it myself.
-
I will look into this I think it would be a great addition to be able to do this. it would avoid having to take an image before sysprepring or what not and it would just allow us to add to the image.
-
r1208, r1209, and r1210 released.
r1208 just made correction to storage node identification. If there isn’t one set on location, it tells you not set.
r1209 fixed an issue in the host management page with location not being able to be adjusted.
r1210 Adds updating of inventory on all download tasks. This way, if you manually added a host, it will update the inventory with the systems information. Yay, better inventory management.
-
Just a little update on the Location Plugin.
I’m told it works properly. One of the largest, and I think influential changes, of Lee’s original Location Patch is that it doesn’t have to be tied to a specific node. In the original patch, you had to tie the location with a node. That node would then be the goto place for that particular system.
Under the new logic method, it’s a plugin. This means there’s two new tables created.
The first table within the schema change is the location table. This table is what holds the information on a specific location. The methodology of this is you name the location and, at the very least, assign a storage group to that location. You may also assign a specific node to the location. It will update the Storage Group to whichever group the node belongs in. I’m sure there’s a few kinks to iron out, but it seems to work from what I’ve been able to test.
The second table is locationAssoc. This is how (change from the patch method) it associates the location to a host. You will, most likely, need to assign the location to the host if you’ve enabled this plugin for all new registration’s after the location has been enabled.
What this allows?
The biggest difference is that this allows you to use Groupings AS WELL AS specific nodes for where you want the client to get it’s images. If this person moves around a lot between locations, you just make the change to that host and all will work fine. This makes for a centralized place to manage all of the hosts under your control.
I hope all will enjoy this being tied in as a “plugin” to the FOG system.
Many many thanks to Lee Rowlett who developed this originally and the assistance with getting many of the kinks ironed out and the details of how to go about getting this implemented. I admit I added new features that were unexpected initially, but I think it allows for more dynamics and adaptability within any organization.
-
Tom you and lee rock I will give a go gotta get my server back up today now as you know I just moved. But I will let you know how I do with it. will there be updated instructions for any one new who may need this?
-
The instruction set is much simpler now.
Just enable the plugins on the fog server.
Go to activate plugins.
Click on Location.
Go to installed plugins.
Click on Location.
Click install plugin.
Then click home. You’ll see the location Icon appear.
Click on the location icon and setup your location as you normally would.
Go to your hosts and set up your location.
I also added the element (which may have been there already) to Add all hosts within a group to a location as well.
That’s it.
It looks like a lot when you read it, but really it’s only seconds of work.
-
sounds easy will let you know
-
Hello
To start I apologize for my English.
Fog is a very good job and thank you for this.
is it normal not to see the password FOG_STORAGENODE_MYSQLPASS in fog setting?
When i add a storage node is asking me for this paswword?And just for the report:
When i go to the service management and I selected any service the graphics of the page disappearsThank
-
what you can do - on the server (from terminal) log into mysql (mysql -u root fog (-pYOUR-PASSWORD-IF-YOU-SET-ONE)) and then run…
Select * FROM globalSettings WHERE settingKey = “FOG_STORAGENODE_MYSQLPASS”;
-
Yes,
That is the new method.
I may create function to pull the information after user verification, but I’ve changed the FOG Settings to display the “Passwords” as Passwords, so prying eye’s don’t get your information.
-
r1211 released.
iPXE is now implemented. Please test and see how much I broke.
Should auto-generate for your particular setup.
-
This post is deleted! -
YOU WOULD do that after I already updated my 0.33b once toady, I’ve been dying to test this! I wil have to wait until tomorrow when I am on site with my server again
-
This post is deleted!