devopsgroup-io/vagrant-digitalocean

private_key_path file must exist

NasuhGencaslan opened this issue · 0 comments

Environment: Windows 10 x64

Vagrant File:

Vagrant.configure("2") do |config|
config.vm.define "beyhan" do |config|
config.vm.provider :digital_ocean do |provider, override|
override.ssh.private_key_path = 'gazelle'
override.vm.box = 'digital_ocean'
override.vm.box_url = "https://www.dropbox.com/s/3r6d9c8x5dvibw6/Gazelle.box"
provider.token = 'my_token'
provider.image = 'ubuntu-16-04-1-x64'
provider.region = 'fra1'
provider.size = '1024mb'
end
end

C:\Users\Nsh\Desktop>cd Vagrant // Where the vagrantfile exist and gazelle.pub is in the Vagrant folder
C:\Users\Nsh\Desktop\Vagrant>vagrant up --provider=digital_ocean
SSH:
*private_key_path file mus exist: gazelle