jckhmr / adlab

GNU General Public License v3.0
77 stars 11 forks source link

incorrect path in Vagrantfile #1

Open avuko opened 4 years ago

avuko commented 4 years ago

running vagrant up from inside your repo was complaining about "path', this fixed it:

  • path for shell provisioner does not exist on the host system: /root/vagrant/lab/ConfigureRemotingForAnsible.ps1
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 7ccba87..cd68ecf 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -34,6 +34,6 @@ Vagrant.configure("2") do |config|
     workstationBsides.vm.network :forwarded_port, guest: 5985, host: 45985, id: "winrm"
     workstationBsides.vm.network :forwarded_port, guest: 3389, host: 43389, id: "msrdp"
   end
-  config.vm.provision "shell", path:"/root/vagrant/lab/ConfigureRemotingForAnsible.ps1"
+  config.vm.provision "shell", path:"ConfigureRemotingForAnsible.ps1"
 end
jckhmr commented 4 years ago

Cheers for this! :-)

On 03.12.2019 15:32, avuko wrote:

running vagrant up from inside your repo was complaining about "path', this fixed it:

  • path for shell provisioner does not exist on the host system: /root/vagrant/lab/ConfigureRemotingForAnsible.ps1

diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile index 7ccba87..cd68ecf 100644 --- a/vagrant/Vagrantfile +++ b/vagrant/Vagrantfile @@ -34,6 +34,6 @@ Vagrant.configure("2") do |config| workstationBsides.vm.network :forwarded_port, guest: 5985, host: 45985, id: "winrm" workstationBsides.vm.network :forwarded_port, guest: 3389, host: 43389, id: "msrdp" end

  • config.vm.provision "shell", path:"/root/vagrant/lab/ConfigureRemotingForAnsible.ps1"
  • config.vm.provision "shell", path:"ConfigureRemotingForAnsible.ps1" end

-- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub [1], or unsubscribe [2].

Links:

[1] https://github.com/jckhmr/adlab/issues/1?email_source=notifications&email_token=AGMJZVSCSHNTCTOXHWPTRVDQWZUWFA5CNFSM4JUY7LIKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4H5WC34A [2] https://github.com/notifications/unsubscribe-auth/AGMJZVT6OY3YJ3S72H33J6LQWZUWFANCNFSM4JUY7LIA