How to BACKOUT/REMOVE GUEST Image layers/snapshots

            Product Line:  VERDE

            Often, you may save a change to a gold image and then realize you didn't really want to do such a change.  Here's how you can easily remove the most recent Gold Image update.

            Ensure all Virtual Images associated with the Gold Image are shutdown and the Gold Image in Checked IN.
            Go to the subject Gold Image's home directory as in my example:
            /home/vb-verde/verde-orgs/org-0/gold/Win764bit/

            List the contents
            [root@localhost Win764bit]# ls -la 
            total 9739192
            drwxr-xr-x 2 vb-verde vb-verde       4096 Aug 29 17:32 .
            drwxr-xr-x 3 vb-verde vb-verde       4096 Aug 29 16:21 ..
            -rw-r--r-- 1 vb-verde vb-verde  102301696 Aug 29 17:26 GUEST-2.IMG
            -rw-r--r-- 1 vb-verde vb-verde  176947200 Aug 29 17:32 GUEST-3.IMG
            -rw-r--r-- 1 vb-verde vb-verde 9693691904 Aug 29 17:09 GUEST.IMG
            -rw-r--r-- 1 vb-verde vb-verde       8596 Aug 29 16:12 installwin4.log
            -rw-r--r-- 1 vb-verde vb-verde       2986 Aug 29 16:12 log.smbd.txt
            -rw-r--r-- 1 vb-verde vb-verde         47 Aug 29 16:12 macaddr
            -rw-r--r-- 1 vb-verde vb-verde      13070 Aug 29 16:12 screenshot.jpg
            -rw-r--r-- 1 vb-verde vb-verde        178 Aug 29 17:32 .session-info
            -rw-r--r-- 1 vb-verde vb-verde        372 Aug 29 16:21 settings.local
            -rw-r--r-- 1 vb-verde vb-verde         74 Aug 29 16:21 settings.local.policy
            -rw-r--r-- 1 vb-verde vb-verde        431 Aug 29 16:12 settings.local.pre_import
            -rw-r--r-- 1 vb-verde vb-verde         62 Aug 29 16:12 .ticket
            -rw-r--r-- 1 vb-verde vb-verde         60 Aug 29 17:32 vb.gold
            -rw-r--r-- 1 vb-verde vb-verde        120 Aug 29 16:12 vb.last_boot
            -rw-r--r-- 1 vb-verde vb-verde     104199 Aug 29 16:12 win4.txt
            -rw-r--r-- 1 vb-verde vb-verde      44477 Aug 29 16:12 win4.txt.prev 

            We are concerned with removing the modifications in GUEST-3.IMG..

            Simply delete GUEST-3.IMG and modify the respective vb.gold file


            This is what it looks like before modifying:

             
            This is how it should be modified.  Set back to the second version and the size of the second GUEST-2.IMG



            Done!



            Updated: 31 Aug 2017 09:14 AM
            Helpful?  
            Help us to make this article better
            0 0