Fog image question
-
Hi,
I was wondering if anyone can provide me some assistance. I am using FOG for my imaging and it is installed on a Ubuntu virtual server, my question is, on my management console I only have 4 images, however when I check the /images folder on my server there are other images in there. How would I upload or export the image in the /images folder to make it visible on the Management Console?
Thanks
[Moderator’s note: I fixed your post so it wasn’t in a code block-george1421]
-
How did the images get into the /images directory? And I assume when you say there are images in there, the the directory looks like [/images/<image_name1> /images/<image_name2> and so on]?
-
@markus1204 Maybe you just copied the images from a different server? You can create image definitions in the web UI and they should work if you name them properly
/images/testimage
=> name:testimage
, path:/images/testimage
-
@george1421 Yes, you are correct. The images get in there when you upload an image to the managment console they are copied into the Default storage location.
-
@george1421
Hi George, the images get there when I upload an image into the web management console, it copies an image into the /opt/fog/images file and however when I delete the image from the management console the image still remains in the /opt/fog/images folder, now my question is, I want to put the image back on the console from the images folder, I previously deleted it from the console but it remains in the images folder. Now is there a way to copy it back from the images folder to the management console? -
@markus1204 With FOG there are 2 parts to the images. The first part is the raw data files stored in /images/<image_name> (this is what you have today). The second part is the meta data that is stored in the data base (what you are missing). If you know the settings you can manually recreate the meta data by filling in the proper settings to point to the raw physical files you have in /images/<image_name> directory.