mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #6] [MERGED] [WIP] Add support for multi device. #149
Labels
No labels
good first issue
issue/confirmed
issue/critical
proposal/accepted
pull-request
type/bug
type/enhancement
type/feature
type/question
type/refactoring
type/testing
type/testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/proxmox-api-go#149
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Telmate/proxmox-api-go/pull/6
Author: @aabouzaid
Created: 7/15/2018
Status: ✅ Merged
Merged: 11/1/2018
Merged by: @ggongaware
Base:
master← Head:multi_device📝 Commits (10+)
550c572Added referrence to vmId to error message in GetVmInfo.6707f9bAdded referrence to vmName to error message in GetVmRefByName.dbc5888Merge pull request #5 from ivanpedersen/master88e5f44Added the possibility to read the macaddress from the proxmox configuration251d9dasupport cloud-init for proxmox 5.2 and scsi0 storage1d9eb7ffix clone commandebe582eMerge branch 'master' into cloud-inite0cf330docs and sshkey format fix75d3ffcmake network param optional on clone/update, check for errors on WaitForCompletioneccc46eneed to escape equals also📊 Changes
6 files changed (+580 additions, -116 deletions)
View changed files
📝
README.md(+21 -5)📝
proxmox/client.go(+126 -11)📝
proxmox/config_qemu.go(+318 -97)📝
proxmox/session.go(+15 -3)➕
proxmox/util.go(+62 -0)➕
sizeunit/size_unit.go(+38 -0)📄 Description
Thanks for your work, it's really helpful.
As you know, since it's still on going, there are many things are hard-coded in VM devices like network and hard disks.
So this PR is to make it more dynamic specially to define more than 1 net and hd device.
And all changes are taking backward comparability in mind.
The work still in progress, and I will let you know once I'm done.
But feel free to mention anything you see could be done better.
I came from Python background, and my golang knowledge is modest.
I also will open another PR for terraform-provider-proxmox.
Thanks.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.