arista-eosplus / packer-ztpserver

Packer.io set up of ZTP server
18 stars 9 forks source link

Error when Path contain space. Running "packer build" #31

Open EzequielBBL opened 7 years ago

EzequielBBL commented 7 years ago

When the script begin to run the build for the VM show these error: (any help will be apreciated)

C:\Users\Ezequiel Bautista\packer-bin\packer build --only=vmware-iso -var name=' Arista_ZTP-ubuntu_20170202_231256' -var disk-size=7000 ztps-ubuntu-12.04.4_amd64 .json 'C:\Users\Ezequiel' is not recognized as an internal or external command, operable program or batch file. Return code:1 Packer install failed!!! Please copy error ouput and raise an issue at https://github.com/arista-eosplus/ packer-ztpserver/issues with your console output.

romecode commented 5 years ago

Hi Ezequiel,

Ran into the same issue just now.

Download packer and/or copy the autoinstalled version to another path with no spaces.

Update $PATH with this location.

Now ./create-veos.py will detect packer and work.

Roman