5 Replies Latest reply on Dec 23, 2009 9:37 AM by lamw

    Pre / Post scripts for Snapshots

    jidar Novice

      VMwareTools-7303-158874 / Most up to date version for 3.5u4-ish


      Located in /usr/sbin

      -rwxrwxrwx 1 root root        47 Dec 22 16:50 post-thaw-script.sh

      -rwxrwxrwx 1 root root        46 Dec 22 16:49 pre-freeze-script.sh


      The contents of the scripts:


      sleep 30

      /bin/touch /tmp/foo

      exit 0


      I've tried renaming the scripts to FREEZE, pre-freeze.sh, pre-freeze-script, pre-freeze.

      The same with post. I've tried putting the files in /etc/vmware-tools.


      Nothing I seem to do works.


      The guest VM is CentOS 5.2


      My testing method is to issue a snapshot without memory from the VIC, or the vimsh command that is related to creating a snapshot.


      I am not using VCB for this test.