moved the setup_iis.bat to an elevated powershell script in order to activate the features

This commit is contained in:
Nicholas Kasprinski 2019-02-05 17:44:34 -08:00
parent 6f01e7a9d7
commit c21d1c0f9e
1 changed files with 6 additions and 1 deletions

View File

@ -183,6 +183,12 @@
{
"type": "windows-restart"
},
{
"type": "powershell",
"elevated_user": "Administrator",
"elevated_password": "vagrant",
"scripts": "{{user `scripts_dir`}}/installs/setup_iis.bat"
},
{
"type": "windows-shell",
"remote_path": "C:/Windows/Temp/script.bat",
@ -192,7 +198,6 @@
"{{user `scripts_dir`}}/chocolatey_installs/7zip.bat",
"{{user `scripts_dir`}}/configs/apply_password_settings.bat",
"{{user `scripts_dir`}}/configs/create_users.bat",
"{{user `scripts_dir`}}/installs/setup_iis.bat",
"{{user `scripts_dir`}}/installs/setup_ftp_site.bat",
"{{user `scripts_dir`}}/chocolatey_installs/java.bat"
]