Bringing up dummy box fails with "box: File for upload not found" (Vagrant 1.8.5)
Opened this issue · 2 comments
Bringing up dummy box fails with "box: File for upload not found" (Vagrant 1.8.5)
Vagrant.configure('2') do |config|
config.vm.provider :proxmox do |proxmox|
proxmox.endpoint = 'https://10.105.64.96/api2/json'
proxmox.user_name = 'admin@pam'
proxmox.password = 'password'
proxmox.vm_id_range = 900..910
proxmox.vm_type = :qemu
proxmox.vm_name_prefix = 'vagrant_'
proxmox.qemu_os = :l26
proxmox.qemu_disk_size = '10G'
proxmox.qemu_storage = 'import-export'
proxmox.qemu_iso_file = '/mnt/pve/import-export/template/ubuntu-14.04.3-server-amd64.iso'
proxmox.vm_name_prefix = 'vagrant_test_'
proxmox.qemu_cores = 1
proxmox.qemu_sockets = 1
proxmox.qemu_nic_model = 'virtio'
proxmox.qemu_bridge = 'vmbr0'
proxmox.vm_memory = 512
end
config.vm.define :box, primary: true do |box|
box.vm.box = 'dummy'
# box.vm.box_url = 'file:///c:/Users/user/Downloads/vagrant-proxmox-master/vagrant-proxmox-master/dummy_box/dummy.box'
box.vm.network :public_network, ip: '192.168.0.1', macaddress: 'ff:aa:cc:dd:bb:ee'
end
end
C:\Users\user\Downloads\vagrant-proxmox-master\vagrant-proxmox-master\dummy
_box>vagrant box list
dummy (proxmox, 0)
hashicorp/precise32 (virtualbox, 1.0.0)
hashicorp/precise64 (virtualbox, 1.1.0)
ubuntu/trusty64 (virtualbox, 20160801.0.0)
C:\Users\user\Downloads\vagrant-proxmox-master\vagrant-proxmox-master\dummy
_box>vagrant up --provider=proxmox
Bringing machine 'box' up with 'proxmox' provider...
==> box: File for upload not found
Is this an iso to upload to proxmox? Or one already in proxmox's stash?
proxmox.qemu_iso_file
is for uploading an iso to proxmox
proxmox.qemu_iso
is to use an iso that already exists on proxmox
@scottlinux I have tried to follow instructions in README. I took "KVM the Vagrantfile" configure the parameters that I know and tried to "vagrant up".
the only section in Vagrantfile that mentions "dummy box" is
config.vm.define :box, primary: true do |box|
box.vm.box = 'dummy'
and I did not change it.