Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clone worked, but have some issues #36

Open
kevinlong206 opened this issue Nov 5, 2016 · 1 comment
Open

Clone worked, but have some issues #36

kevinlong206 opened this issue Nov 5, 2016 · 1 comment

Comments

@kevinlong206
Copy link

Hello and thanks for making this plugin. It could work really well for me if I can work out some kinks.

I just did a "vagrant up" with the below Vagrant file. I received some warnings, but the box did indeed clone and I could start it OK.

Most values in the Vagrantfile were ignored and the resulting VM had the same memory, HD size, and processesor as the qemu_template, which are much different than what I specified in the Vagrantfile (512 ram in Vagrantfile vs 4gb in the template, for example).

Also, I wonder if I can specify the proxmox VLAN using this plugin? I have lots of VLANs on my Proxmox cluster/LAN.

$ vagrant up
Bringing machine 'box' up with 'proxmox' provider...
==> box: translation missing: en.vagrant_proxmox.cloning_vm
==> box: Done!
==> box: translation missing: en.vagrant_proxmox.adjust_forwarded_port_params
==> box: translation missing: en.vagrant_proxmox.configuring_vm
Unable to communicate with proxmox server:

translation missing: en.vagrant_proxmox.errors.vm_configure_error

Vagrant.configure('2') do |config|

config.vm.provider :proxmox do |proxmox|
    proxmox.endpoint = 'https://pxmx01.xxxxxxxx.com:8006/api2/json'
    proxmox.user_name = 'root@pam'
    proxmox.password = '************'
    proxmox.vm_id_range = 900..910
    proxmox.vm_type = :qemu
    proxmox.vm_name_prefix = 'vagrant_'
    proxmox.qemu_os = :l26
    proxmox.qemu_disk_size = '30G'
    proxmox.qemu_storage = 'local'
    proxmox.qemu_template = 'centos7-template'
    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.network :public_network, ip: '192.168.0.1', macaddress: 'ff:aa:cc:dd:bb:ee'
end

end

@kevinlong206
Copy link
Author

Virtual Environment 4.3-9/f7c6f0cd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant