Image from Image File
-
I know FOG’s intended functionality is to capture and create deployable images from devices or VMs but is it possible to manually create a FOG image from a .img file? That is; could you create an image definition and then drop a preconfigured .img file in the /images folder?
I have a developer creating customized Ubuntu .img files and our workflow right now is to create a VM using those .imgs and then capture the VM to create a FOG image. It would be great to cut the process down to just dropping the .img into a folder on our FOG server. Possible?
Thanks!
-
@Kram-Man This won’t work. When fog captures an image it also creates a metadata file that describes the target hard drive. Also fog when it captures the image it creates partition base image files, not a monolithic file describing all partitions. Could you do this outside of the fog image capture process, probably. FOG uses partclone and zstd to capture and compress the partitions. You would just need to create the metadata data file that represents the target system layout. Its possible to do, but just creating your golden image and then capturing with fog would be just as quick IMO.
-
@george1421 Thanks, George.