VMware Workstation vmrun script :
rem START UP
rem set SERVERA="E:\VM\ansible\servera\servera.vmx"
rem %RUN% -T ws start "%SERVERA%"
set RUN="C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe"
set SERVER0="E:\VM\ansible\workstation\workstation.vmx"
set SERVERA="E:\VM\ansible\servera\servera.vmx"
set SERVERB="E:\VM\ansible\serverb\serverb.vmx"
set SERVERC="E:\VM\ansible\serverc\serverc.vmx"
set SERVERD="E:\VM\serverd\serverd.vmx"
%RUN% -T ws revertToSnapshot "%SERVER0%" "Snapshot 1"
%RUN% -T ws start "%SERVER0%"
%RUN% -T ws revertToSnapshot "%SERVERA%" "Snapshot 1"
%RUN% -T ws start "%SERVERA%"
%RUN% -T ws revertToSnapshot "%SERVERB%" "Snapshot 1"
%RUN% -T ws start "%SERVERB%"
%RUN% -T ws revertToSnapshot "%SERVERC%" "Snapshot 1"
%RUN% -T ws start "%SERVERC%"
%RUN% -T ws revertToSnapshot "%SERVERD%" "Snapshot 1"
%RUN% -T ws start "%SERVERD%"
沒有留言:
張貼留言