Sliim / pentest-env

Pentest environment deployer (kali linux + targets) using vagrant and chef.
http://sliim.github.io/pentest-env/
GNU General Public License v3.0
631 stars 169 forks source link

error in instance.rb #29

Closed elieyal closed 7 years ago

elieyal commented 7 years ago

Hi, I am new to this and I'm trying to bring up the VM using Vagrant. I have downloaded the files into a new directory and ran "vagrant up" command but I get this error: C:\vagrant>cd pentest-env-master

C:\vagrant\pentest-env-master>vagrant up C:/vagrant/pentest-env-master/lib/pentestenv/instance.rb:18:in initialize': Spe cified instancekalinot found. (ArgumentError) from C:/vagrant/pentest-env-master/lib/pentestenv/customization.rb:18:in new' from C:/vagrant/pentest-env-master/lib/pentestenv/customization.rb:18:in block in register' from C:/vagrant/pentest-env-master/lib/pentestenv/customization.rb:17:in each' from C:/vagrant/pentest-env-master/lib/pentestenv/customization.rb:17:in register' from C:/vagrant/pentest-env-master/Vagrantfile:21:inblock in <top (req uired)>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/v2/loader.rb:37:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/v2/loader.rb:37:inload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/loader.rb:113:in block (2 levels) in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/loader.rb:107:ineach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/loader.rb:107:in block in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/loader.rb:104:ineach' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/c onfig/loader.rb:104:in load' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/v agrantfile.rb:28:ininitialize' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:746:in new' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:746:invagrantfile' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:492:in host' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:214:inblock in action_runner' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/a ction/runner.rb:33:in call' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/a ction/runner.rb:33:inrun' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:479:in hook' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/lib/vagrant/e nvironment.rb:728:inunload' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/bin/vagrant:1 92:in ensure in <main>' from C:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.8.7/bin/vagrant:1 92:in

'

C:\vagrant\pentest-env-master>

I have not changed anything. is this how it is supposed to be? maybe I have made a wrong configuration somewhere?

Sliim commented 7 years ago

Hi! Do you have a file called kali.rb in C:\vagrant\pentest-env-master\instances?

R3zk0n commented 7 years ago

Hi mate, having the same error as the person above, ive got kali.rb in the instances path. Sorry if its a just a small thing, not use to use vagrant.

Sliim commented 7 years ago

Hi, Can you pull the master branch and retry? I think this is an issue with windows path..