Help in deleting image in fog server


  • How do i delete image from fog server ? I am running ubuntu desktop lts fog version 1.5.9

  • Senior Developer

    @jonathanho92 said in Help in deleting image in fog server:

    When i try to click delete they prompt me for credential i am not sure which credentials to key in to delete the image

    That’s the same credentials you use to login to the FOG web UI. It’s just a safety thing to prevent people from deleting image files in a rush.


  • When i try to click delete they prompt me for credential i am not sure which credentials to key in to delete the image

  • Senior Developer

    @jonathanho92 When deleting an image through the web UI you have two options. On the image list view you can click the checkbox of one or more images and then hit the delete button. But that will only remove the image definition from the database. The other way is to go into the image settings of one particular image you want to remove and switch to the tab named “Delete”. Here you have the option to also remove the image files from disk.

    If you have deleted an image using the first method already you need to delete the image files on the server manually. Open a console (SSH or local) and use rm -rf command to delete the particular image directory (in /images/...). Be aware that there is no backup. So make sure you understand how to handle the Linux rm command as it can cause a lot of damage when used the wrong way.

319
Online

8.2k
Users

15.1k
Topics

141.9k
Posts