From 7d77f40e44c42f96c2b560a36f535ac8b4e92b1c Mon Sep 17 00:00:00 2001 From: Chris Long Date: Sun, 6 Jun 2021 17:01:16 -0700 Subject: [PATCH] Update Vagrantfile --- Vagrant/Exchange/Vagrantfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Vagrant/Exchange/Vagrantfile b/Vagrant/Exchange/Vagrantfile index ff79204..3bb44e5 100644 --- a/Vagrant/Exchange/Vagrantfile +++ b/Vagrant/Exchange/Vagrantfile @@ -23,10 +23,9 @@ Vagrant.configure("2") do |config| cfg.vm.provision "shell", path: "scripts/install-osquery.ps1", privileged: false cfg.vm.provision "shell", path: "scripts/install-sysinternals.ps1", privileged: false cfg.vm.provision "shell", path: "scripts/install-velociraptor.ps1", privileged: false - cfg.vm.provision "shell", path: "scripts/install-exchange.ps1", privileged: false + cfg.vm.provision "shell", path: "scripts/install-exchange.ps1", privileged: true cfg.vm.provision "reload" - # Uncomment the line below once the commands in install-exchange.ps1 have been properly worked out - #cfg.vm.provision "shell", path: "scripts/install-exchange.ps1", privileged: false + cfg.vm.provision "shell", path: "scripts/install-exchange.ps1", privileged: false cfg.vm.provision "shell", inline: "Set-SmbServerConfiguration -AuditSmb1Access $true -Force", privileged: false cfg.vm.provision "shell", inline: 'cscript c:\windows\system32\slmgr.vbs /dlv', privileged: false