Skip to content

incorrect path in Vagrantfile #1

@ghost

Description

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions