packer/kali_rolling_vmware.json in pwn-0.4.405 vs packer/kali_rolling_vmware.json in pwn-0.4.406

- old
+ new

@@ -41,11 +41,11 @@ }], "provisioners": [ { "type": "shell", "environment_vars": [ - "PWN_ROOT=/opt/pwn", + "PWN_ROOT=\$(ruby -r pwn -e 'puts \"#{Gem.path.first}/gems/pwn-#{PWN::VERSION}\"')", "PWN_PROVIDER=vmware" ], "scripts": [ "provisioners/upload_globals.sh", "provisioners/init_image.sh" @@ -61,11 +61,11 @@ { "pause_before": "180s", "type": "shell", "environment_vars": [ - "PWN_ROOT=/opt/pwn", + "PWN_ROOT=\$(ruby -r pwn -e 'puts \"#{Gem.path.first}/gems/pwn-#{PWN::VERSION}\"')", "PWN_PROVIDER=vmware" ], "scripts": [ "provisioners/install_vagrant_ssh_key.sh", "provisioners/update_os.sh" @@ -81,10 +81,10 @@ { "pause_before": "180s", "type": "shell", "environment_vars": [ - "PWN_ROOT=/opt/pwn", + "PWN_ROOT=\$(ruby -r pwn -e 'puts \"#{Gem.path.first}/gems/pwn-#{PWN::VERSION}\"')", "PWN_PROVIDER=vmware" ], "scripts": [ "provisioners/coreutils.sh", "provisioners/git.sh",