mirror of
https://github.com/Telmate/proxmox-api-go.git
synced 2026-04-25 23:45:55 +03:00
[PR #149] [MERGED] qemu: option for deterministic MAC addresses #268
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#268
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/149
Author: @mizhka
Created: 12/11/2021
Status: ✅ Merged
Merged: 12/15/2021
Merged by: @ggongaware
Base:
master← Head:user/mizhka/repeatable-mac📝 Commits (1)
a54e275qemu: option for deterministic MAC addresses📊 Changes
1 file changed (+28 additions, -11 deletions)
View changed files
📝
proxmox/config_qemu.go(+28 -11)📄 Description
This commit adds ability to generate deterministic MAC address based on VM ID
and NIC ID. In case of frequent VM recreations via terraform or packer,
it reduces allocation of IP address from DHCP servers.
To use it, specify MAC address as "repeatable".
Tested via Terraform plugin. Assume that it works with Packer as well.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.