How to copy and run file in Windows VM during VM profile creation for VMware Driver?
Description of Issue/Question
I wanted to copy set of powershell scripts to VM during VM provisioning from VMWare driver. I tried with file_map but it is not working for windows bootstraping.
@anandxoriant, what version of salt and windows are you using? Do you get any error messages in the logs, for example? Canonically, you would want to put any initialization actions, such as a powershell script into a state that is run upon minion startup by using startup_states, for example.
@jfindlay: I am using latest development branch. I am not getting any error. But file are not getting copied to VM during deployment. Windows Version will be Win2008R2 and Win2012R2.
Thanks for the extra info.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.