0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00
Commit Graph

12 Commits

Author SHA1 Message Date
Pavel Boldyrev
a99220e9fb
feat(lxc): increase number of supported mount points to 256 (#1939)
* feat(lxc): increase number of supported mount points to 256
* fix(container): correct condition for setting replicate value for rootfs


Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-04-29 21:15:20 -04:00
CaptaiNiveau
aa9cdba0bf
fix(lxc): multiple issues during container import (#1867)
* fix(container): Added `Unprivileged` to `containerRead` on import

Signed-off-by: CaptaiNiveau <c.straten@proton.me>

* fix(container): Changed default value of device passthrough mode to 0660

Signed-off-by: CaptaiNiveau <c.straten@proton.me>

* chore(lxc): add default device passthrough mode to the schema, update acc tests

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>

---------

Signed-off-by: CaptaiNiveau <c.straten@proton.me>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: CaptaiNiveau <c.straten@proton.me>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-30 20:20:30 -04:00
Pavel Boldyrev
03f2079902
fix(lxc): prevent spurious dns config change when updating initialization block (#1859)
* fix(lxc): prevent spurious `dns` config change when updating `initialization` block

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-03-28 22:39:57 -04:00
Gifary Dhimas Fadhillah
e92b0064bf
fix(lxc): support device_passthrough config on non-clone container (#1722)
* fix(lxc): support `device_passthrough` config on non-clone container

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

* fix(lxc): device_passthrough state of cloned container

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

* test(lxc): assert container device passthrough

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>

---------

Signed-off-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>
Co-authored-by: Gifary Dhimas Fadhillah <4391866+gifff@users.noreply.github.com>
2025-01-25 17:37:34 -05:00
Pavel Boldyrev
5e7e7994d5
chore(testacc): update apt repository acceptance tests (#1725)
* chore(tests): update apt repository acc tests

- Refactored test configurations for `proxmox_virtual_environment_apt_repository` and `proxmox_virtual_environment_apt_standard_repository` to use `te.RenderConfig` for better readability.
- Simplified resource attribute checks and ensured consistent naming conventions across tests.
- Updated test steps to reflect changes in resource attributes and improved error handling.
- explicitly use root@pam account in container tests that use hardware mapping

This commit enhances the maintainability of the test suite and aligns with recent changes in the Proxmox provider.

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2025-01-23 17:34:30 -05:00
Petr Gajdosik
7cbd1b46fa
feat(lxc): add support for device_passthrough config option (#1706)
Signed-off-by: Tarasa24 <tarasa24@tarasa24.dev>
2025-01-16 17:58:49 -05:00
Pavel Boldyrev
72f7cb81a8
feat(provider): reliable sequential and random vm_id generation (#1557)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-10-03 20:18:37 -04:00
Pavel Boldyrev
89d72cd37f
fix(lxc): add new storage-backed mount point to existing container (#1553)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-09-23 21:47:43 -04:00
Pavel Boldyrev
a0d9300f0f
chore: refactor container acc test (#1408)
+ beautify test output on CI

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-06-24 23:08:59 -04:00
Pavel Boldyrev
4a8bf8da27
fix(lxc): use default rootfs size (4Gb) prevents creation of mount points (#1398)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-06-17 03:47:50 +00:00
Pavel Boldyrev
d02dc1eb0a
fix(vm): adding disks causes VM to be re-created (#1336)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-05-29 23:12:05 -04:00
Pavel Boldyrev
2e34c57f6c
chore(vm2): cleanup cpu implementation, refactor rearrange acc tests (#1311)
* chore(vm2): cleanup `cpu` implementation, refactor rearrange acc tests

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-05-18 23:31:50 -04:00