Fog Image Numbers
-
Checking to see if I might have something setup wrong however, our system is not rolling old image numbers back in to the list of options. When we go to delete an image from the server the next time we image it takes the next highest number instead of taking the older lower number. Ex: last image was 60, deleted image number 2, uploaded new image and image number is 61 instead of 2.
-
@zach-garner This is default behavior. The image ID is determined by a MariaDB autonumber which only goes up. People have been bothered by this before including myself, so I wrote a tool that re-numbers all of your images for you and resets the autonumber. You can find details here: https://github.com/FOGProject/fog-community-scripts/tree/master/RenumberImageIDs
-
@wayne-workman Awesome, thank you for that tool. We have had some troubles in the past when trying to make changes to the system and are currently running our yearly imaging process, when we get done with that process probably end of next week we will definitely be running that.
Side question to the tool. Is this something that can be ran a couple times over years or should it only be used once? -
@zach-garner You can use it as often as you want.