[PR #339] [MERGED] Overhaul: CloudInit #404

Closed
opened 2026-02-28 00:42:04 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Telmate/proxmox-api-go/pull/339
Author: @Tinyblargon
Created: 6/9/2024
Status: Merged
Merged: 6/16/2024
Merged by: @Tinyblargon

Base: masterHead: Overhaul-cloudinit


📝 Commits (10+)

  • be03b97 move sshKey logic
  • 0274a91 feat: add CloudInit type
  • 17bd2b5 feat: add User to CloudInit
  • c1f014e feat: add Password to CloudInit
  • 907a67c feat: add DNS settings to CloudInit
  • 645a7fb feat: add Custom to CloudInit
  • 3d31414 feat: add NetworkInterfaces to CloudInit
  • 1172954 feat: add Upgrade to CloudInit
  • 7cfb249 test: CloudInit full
  • b2dcd74 Remove unused code

📊 Changes

10 files changed (+2361 additions, -164 deletions)

View changed files

📝 go.mod (+1 -1)
📝 proxmox/config_guest.go (+6 -0)
📝 proxmox/config_qemu.go (+79 -134)
proxmox/config_qemu_cloudinit.go (+733 -0)
proxmox/config_qemu_cloudinit_test.go (+639 -0)
📝 proxmox/config_qemu_test.go (+712 -25)
📝 proxmox/util.go (+14 -0)
📝 test/api/CloudInit/cloudinit_test.go (+12 -4)
test/data/test_data_qemu/type_CloudInitSnippetPath.go (+123 -0)
test/data/test_data_qemu/type_PublicKey.go (+42 -0)

📄 Description

Work Done.

  • Moved all cloud-init setting into CloudInit.
  • Re-implemented all cloud-init properties.
  • Added test for everything.

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Telmate/proxmox-api-go/pull/339 **Author:** [@Tinyblargon](https://github.com/Tinyblargon) **Created:** 6/9/2024 **Status:** ✅ Merged **Merged:** 6/16/2024 **Merged by:** [@Tinyblargon](https://github.com/Tinyblargon) **Base:** `master` ← **Head:** `Overhaul-cloudinit` --- ### 📝 Commits (10+) - [`be03b97`](https://github.com/Telmate/proxmox-api-go/commit/be03b974444928715f7b8bceae36c0172bc3a979) move sshKey logic - [`0274a91`](https://github.com/Telmate/proxmox-api-go/commit/0274a911482b3b9b4deeb6c9ac62233394c93745) feat: add `CloudInit` type - [`17bd2b5`](https://github.com/Telmate/proxmox-api-go/commit/17bd2b5099807f33d5e7ac649e6a6c5aff6cfb34) feat: add User to `CloudInit` - [`c1f014e`](https://github.com/Telmate/proxmox-api-go/commit/c1f014ef69170e836d9f6b1710a4be6c90d11bc0) feat: add Password to `CloudInit` - [`907a67c`](https://github.com/Telmate/proxmox-api-go/commit/907a67c589056819da042b6fc695f2756ee3fd3a) feat: add DNS settings to `CloudInit` - [`645a7fb`](https://github.com/Telmate/proxmox-api-go/commit/645a7fb6259f274995ff313d6b37915bd98f58d4) feat: add Custom to `CloudInit` - [`3d31414`](https://github.com/Telmate/proxmox-api-go/commit/3d31414e4a55340260ca0b37f5eb1a76865466ad) feat: add NetworkInterfaces to `CloudInit` - [`1172954`](https://github.com/Telmate/proxmox-api-go/commit/1172954490fd1c800dc4be2ec2ce1f0a3fc59bc8) feat: add Upgrade to `CloudInit` - [`7cfb249`](https://github.com/Telmate/proxmox-api-go/commit/7cfb2490a123e65b8f11ef29869c8b1ffb43451c) test: `CloudInit` full - [`b2dcd74`](https://github.com/Telmate/proxmox-api-go/commit/b2dcd74b1d08fe66323c1e3796dbdb61da171869) Remove unused code ### 📊 Changes **10 files changed** (+2361 additions, -164 deletions) <details> <summary>View changed files</summary> 📝 `go.mod` (+1 -1) 📝 `proxmox/config_guest.go` (+6 -0) 📝 `proxmox/config_qemu.go` (+79 -134) ➕ `proxmox/config_qemu_cloudinit.go` (+733 -0) ➕ `proxmox/config_qemu_cloudinit_test.go` (+639 -0) 📝 `proxmox/config_qemu_test.go` (+712 -25) 📝 `proxmox/util.go` (+14 -0) 📝 `test/api/CloudInit/cloudinit_test.go` (+12 -4) ➕ `test/data/test_data_qemu/type_CloudInitSnippetPath.go` (+123 -0) ➕ `test/data/test_data_qemu/type_PublicKey.go` (+42 -0) </details> ### 📄 Description Work Done. - Moved all cloud-init setting into `CloudInit`. - Re-implemented all cloud-init properties. - Added test for everything. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-28 00:42:04 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmox-api-go#404
No description provided.