Hi, there.
I am trying to use Vagrant for provisioning VMs in ProxmoxVE 5.0. However, vagrant-proxmox hasn't been updating for a long time, so I tried the newest fork.
But when I try to provisioning by (on MacOS):
$ vagrant up --provider=proxmox
It says:
Unable to communicate with proxmox server:
SSL_connect returned=1 errno=0 state=error: certificate verify failed
What is wrong? What should I do?
By the way, here is what I have done:
$ git clone https://github.com/postageapp/vagrant-proxmox.git
$ cd vagrant-proxmox
$ gem build vagrant-proxmox.gemspec
$ vagrant plugin install vagrant-proxmox-0.1.1.gem
$ vagrant box add dummy dummy_box/dummy.box
Then edit the Vagrantfile:
Vagrant.configure('2') do |config|
config.vm.provider proxmox do |proxmox|
proxmox.endpoint = 'https://10.111.66.153:8006/api2/json'
proxmox.user_name = 'root@pam'
proxmox.password = 'admin'
proxmox.vm_id_range = 900..903
proxmox.vm_name_prefix = 'vagrant_'
proxmox.openvz_os_template = 'local:vztmpl/vagrant-proxmox-ubuntu-12.tar.gz'
proxmox.vm_type = :lxc
proxmox.vm_memory = 256
end
config.vm.define :box, primary: true do |box|
box.vm.box = 'dummy'
box.vm.network public_network, ip: '10.111.66.110'
end
end
Finally,
$ vagrant up --provider=proxmox
I am trying to use Vagrant for provisioning VMs in ProxmoxVE 5.0. However, vagrant-proxmox hasn't been updating for a long time, so I tried the newest fork.
But when I try to provisioning by (on MacOS):
$ vagrant up --provider=proxmox
It says:
Unable to communicate with proxmox server:
SSL_connect returned=1 errno=0 state=error: certificate verify failed
What is wrong? What should I do?
By the way, here is what I have done:
$ git clone https://github.com/postageapp/vagrant-proxmox.git
$ cd vagrant-proxmox
$ gem build vagrant-proxmox.gemspec
$ vagrant plugin install vagrant-proxmox-0.1.1.gem
$ vagrant box add dummy dummy_box/dummy.box
Then edit the Vagrantfile:
Vagrant.configure('2') do |config|
config.vm.provider proxmox do |proxmox|
proxmox.endpoint = 'https://10.111.66.153:8006/api2/json'
proxmox.user_name = 'root@pam'
proxmox.password = 'admin'
proxmox.vm_id_range = 900..903
proxmox.vm_name_prefix = 'vagrant_'
proxmox.openvz_os_template = 'local:vztmpl/vagrant-proxmox-ubuntu-12.tar.gz'
proxmox.vm_type = :lxc
proxmox.vm_memory = 256
end
config.vm.define :box, primary: true do |box|
box.vm.box = 'dummy'
box.vm.network public_network, ip: '10.111.66.110'
end
end
Finally,
$ vagrant up --provider=proxmox
Last edited: