-
Notifications
You must be signed in to change notification settings - Fork 113
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
Adding support to LXC (proxmox4) #26
Conversation
hi everyone any chance these PR's could be accepted into the mainline? would hate to have to for this provider ! |
btw, for proxmox at ovh a mac address is required I will compile this and try it |
I'm using proxmox from ovh too and it work like a charm without any mac address, btw, no need to compile :) |
huh ! thanks for that info |
before I forget, is this OVH in France? I remember reading something about mac addresses not being needed in France... anyways, will test in BHS in comings days, maybe actually next week |
sorry, I had to compile the gem for vagrant from the fork have I missed something? |
hi again I built this gem and am trying lxc am getting connection errors trying for OVH this is my Vagrantfile Vagrant.configure('2') do |config|
end I can test connect curl -k -d "username=root@pam&password=hjdfhfjdshfd" https://159.39.33.153:8006/api2/json/access/ticket |
Built this gem ? Just add the plugin and change the file after (Check #25) What's your error ? |
hi, thanks for responding... I'll try the method above I am on Ubuntu Trusty, are you using a Mac? I actually tried to merge all repos and build a new plugin, vs modifying existing gem/ plugin source my error INFO interface: error: Unable to communicate with proxmox server: VagrantPlugins::Proxmox::ApiError::UnauthorizedError VagrantPlugins::Proxmox::ApiError::UnauthorizedError |
I actually got passed this error 400 which was erroneous there was a .vagrant folder created with failed attempts and so I vagrant destroy -f (probably redundant) then vagrant up provider=proxmox works now to the next error ! |
Adding support to LXC (proxmox4)
hi, I've installed via "vagrant plugin install vagrant-proxmox" (0.0.10) and tried also to create a lxc container on a ZPool. It works with qemu and this patch.
My Vagrant file:
On the PVE side, I don't find any logs, what is going wrong ... any suggestions ? cu denny |
The storage parameter is for the storage only, nothing more. Use the rootfs parameter to correctly give the PVE API the disk size and the storage. Addresses: telcat#26 (comment)
Little fix, not the best but it works,
New network configuration with lxc:
on your vagrant file:
proxmox.vm_type = :lxc
&
box.vm.network :public_network, ip: '10.150.170.237', interface: 'eth0', bridge: 'vmbr0', gw: '10.150.170.1'
Managing multiple interfaces does not work yet, do not hesitate to propose a fix
Issue: #25