0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-07-01 11:02:59 +00:00
Commit Graph

1211 Commits

Author SHA1 Message Date
Serge
dbbd966736
feat(vm): add support for numa architecture attribute (#1156) (#1175)
* feat(vm): add support for numa architecture attribute (#1156)

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>

* fix: numa blocks reordering issue

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

---------

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-06 16:30:13 -04:00
Pavel Boldyrev
31b6812ce2
fix(vm): regression: provider always tries to update memory.*hugepages even if it is not specified (#1188)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-06 12:27:55 +00:00
bpg-autobot[bot]
c1c4cf159b
chore(main): release 0.51.1 (#1178)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-04-04 19:53:55 -04:00
renovate[bot]
e680aa9318
chore(deps): update golang.org/x/exp digest (a685a6e → c0f41cb) (#1183)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-04 19:49:24 -04:00
Pavel Boldyrev
82d435f575
fix(vm): regressions: provider always tries to update cpu.affinity even if it is not specified (#1182)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-04-04 23:48:49 +00:00
allcontributors[bot]
39e67da544
docs: add batonogov as a contributor for bug (#1181)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-04-04 19:41:26 -04:00
renovate[bot]
7358257dba
chore(ci): update actions/create-github-app-token action (v1.9.0 → v1.9.2) (#1177)
| datasource  | package                         | from   | to     |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.0 | v1.9.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-04-03 00:05:14 +00:00
bpg-autobot[bot]
13b25df005
chore(main): release 0.51.0 (#1154)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-03-30 08:20:13 -04:00
renovate[bot]
02efdc40bf
chore(deps): update module github.com/golangci/golangci-lint (v1.57.1 → v1.57.2) in /tools (#1172)
* chore(ci): update actions/create-github-app-token action (v1.9.0 → v1.9.1)

| datasource  | package                         | from   | to     |
| ----------- | ------------------------------- | ------ | ------ |
| github-tags | actions/create-github-app-token | v1.9.0 | v1.9.1 |

* chore(deps): update module github.com/golangci/golangci-lint (v1.57.1 → v1.57.2) in /tools

| datasource | package                           | from    | to      |
| ---------- | --------------------------------- | ------- | ------- |
| go         | github.com/golangci/golangci-lint | v1.57.1 | v1.57.2 |

* fix linter errors

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-30 03:32:08 +00:00
renovate[bot]
e60ee990fa
chore(deps): update golang.org/x/exp digest (a85f2c6 → a685a6e) (#1171)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-29 23:31:02 -04:00
Leah
e87bc4b941
fix: prevent authenticating multiple times in parallel (#1168)
Signed-off-by: hrmny <8845940+ForsakenHarmony@users.noreply.github.com>
2024-03-27 18:27:07 -04:00
Serge
a2f055a916
feat(vm): add support for memory hugepages and keep_hugepages attributes (#1158)
Allow use hugepages on the VM.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
2024-03-27 18:13:03 -04:00
allcontributors[bot]
016fe49cc1
docs: add michaelfranzl as a contributor for code, and test (#1164)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-26 01:24:42 +00:00
Michael Franzl
d41463de79
fix(vm): re-use ide, sata, and scsi cloud-init storage (#1083) (#1141)
* fix(vm): add failing acceptance test for cloud-init over scsi interface (#1083)

Signed-off-by: Michael Franzl <michael@franzl.name>

* fix(vm): re-use ide, sata, and scsi initialization storage (#1083)

Signed-off-by: Michael Franzl <michael@franzl.name>

* fix linter error

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

---------

Signed-off-by: Michael Franzl <michael@franzl.name>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-25 21:23:10 -04:00
renovate[bot]
e5ef91e72d
chore(deps): update module github.com/hashicorp/terraform-plugin-framework (v1.6.1 → v1.7.0) (#1150)
| datasource | package                                         | from   | to     |
| ---------- | ----------------------------------------------- | ------ | ------ |
| go         | github.com/hashicorp/terraform-plugin-framework | v1.6.1 | v1.7.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-26 01:09:25 +00:00
renovate[bot]
48756b69ba
chore(deps): update module github.com/golangci/golangci-lint (v1.56.2 → v1.57.1) in /tools (#1149)
* chore(deps): update module github.com/golangci/golangci-lint (v1.56.2 → v1.57.1) in /tools

| datasource | package                           | from    | to      |
| ---------- | --------------------------------- | ------- | ------- |
| go         | github.com/golangci/golangci-lint | v1.56.2 | v1.57.1 |

* fix linter errors

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

---------

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-25 21:06:06 -04:00
allcontributors[bot]
72b7b3678b
docs: add soubinan as a contributor for code (#1162)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-24 21:17:28 -04:00
Soubinan KACOU
c45e3367e7
fix(lxc): improve configurable timeouts for containers operations (#1161)
feat(lxc): Improve configurable timeouts for containers operations

Fix timeouts on CT creation (related to #1160)
Add configurable timeout for CT start

Signed-off-by: Soubinan <contact@soubinan.tk>
Co-authored-by: Soubinan <contact@soubinan.tk>
2024-03-24 21:15:40 -04:00
allcontributors[bot]
3020e56bed
docs: add sergelogvinov as a contributor for code (#1155)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-23 21:36:43 -04:00
Serge
83a5971cf6
feat(vm): add support for cpu affinity attribute (#1148) (#1153)
* feat(vm): add support for cpu `affinity` attribute (#1148)

It helps to pin VMs to the special cpu.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>

* add clarification about the format and permission requirements for `affinity`
* do not add `affinity` property to the API call if is not set

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

---------

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-23 21:34:59 -04:00
Serge
9fee8c1e2e
feat(vm): add proxmox_virtual_environment_node datasource (#1151)
* feat(vm): add proxmox_virtual_environment_node datasource

It helps to get CPU model, number of cores and sockets.

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>

* fix node_name ref
* add acceptance test

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

---------

Signed-off-by: Serge Logvinov <serge.logvinov@sinextra.dev>
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-23 20:17:09 -04:00
bpg-autobot[bot]
1530fa3f48
chore(main): release 0.50.0 (#1128)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-03-20 23:28:50 -04:00
Pavel Boldyrev
84440d8329
feat(lxc): add configurable timeout for container creation (#1146)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-21 03:02:26 +00:00
allcontributors[bot]
b366b2c9d5
docs: add soubinan as a contributor for bug (#1145)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-20 22:58:57 -04:00
dependabot[bot]
f4c80ad297
chore(deps): bump github.com/docker/docker from 24.0.7+incompatible to 24.0.9+incompatible in /tools (#1142)
chore(deps): bump github.com/docker/docker in /tools

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 24.0.7+incompatible to 24.0.9+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v24.0.7...v24.0.9)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-20 22:30:43 -04:00
allcontributors[bot]
5046fab04b
docs: add msdnna as a contributor for code (#1144)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-20 22:23:29 -04:00
msdnna
0deaf1801a
feat(lxc): support hook script for LXC (#1140)
* feat(lxc): support hook script for LXC

Signed-off-by: msdnna <extracker0mail@gmail.com>

---------

Signed-off-by: msdnna <extracker0mail@gmail.com>
2024-03-20 22:13:57 -04:00
renovate[bot]
6f8a472981
chore(deps): update golang.org/x/exp digest (c7f7c64 → a85f2c6) (#1139)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-19 02:38:01 -04:00
allcontributors[bot]
026b2deeb6
docs: add dyadMisha as a contributor for test (#1137)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-18 01:02:41 +00:00
dyadMisha
6a5beccf91
fix(examples): datastore_id is missing in initialization block for vm (#1136)
fix: datastore_id is missing in initialization block

otherwise it defaults to dvInitializationDatastoreID

Signed-off-by: dyadMisha <37950256+dyadMisha@users.noreply.github.com>
2024-03-17 21:01:19 -04:00
allcontributors[bot]
ef97ba6344
docs: add samhug as a contributor for doc (#1135)
* docs: update CONTRIBUTORS.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2024-03-17 11:56:11 -04:00
Sam Hug
5cd6b4acdf
fix(docs): typo in container.console attribute mode -> type (#1133)
docs: fix typo mode -> type

Signed-off-by: Sam Hug <s@m-h.ug>
2024-03-17 11:54:43 -04:00
Pavel Boldyrev
0c6ecb85ed
fix(doc): fix sudo configuration steps (#1132)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-16 18:26:15 +00:00
renovate[bot]
ab512622f7
chore(deps): update golang.org/x/exp digest (814bf88 → c7f7c64) (#1130)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-16 01:44:12 +00:00
Pavel Boldyrev
11ca880f28
feat(vm): add support for disconnected attribute in network interface (#1129)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-16 01:41:53 +00:00
Pavel Boldyrev
29b5438faf
chore(vm): refactoring: extract network device code from vm.go (#1127)
chore(vm): refactoring: extract network code

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-16 01:06:30 +00:00
bpg-autobot[bot]
279b41a0e4
chore(main): release 0.49.0 (#1122) 2024-03-15 07:32:41 -04:00
Pavel Boldyrev
cea65a8a12
feat(vm): add support for protection attribute (#1126)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-14 22:23:02 -04:00
Pavel Boldyrev
014b59e04f
feat(vm): add support for disk aio, backup, iops* attributes (#1124)
* feat(vm): add support for disk `aio`, `backup`, `iops*` attributes

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-14 00:24:17 -04:00
renovate[bot]
732f0188d7
chore(deps): update module github.com/skeema/knownhosts (v1.2.1 → v1.2.2) (#1123)
| datasource | package                      | from   | to     |
| ---------- | ---------------------------- | ------ | ------ |
| go         | github.com/skeema/knownhosts | v1.2.1 | v1.2.2 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-13 22:14:34 -04:00
dependabot[bot]
1ffc40b77a
chore(deps): bump google.golang.org/protobuf from 1.31.0 to 1.33.0 in /tools (#1121)
chore(deps): bump google.golang.org/protobuf in /tools

Bumps google.golang.org/protobuf from 1.31.0 to 1.33.0.

---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-03-13 20:36:09 -04:00
Pavel Boldyrev
be45a2e840
misc: cleanup .gorelease.yml 2024-03-12 22:02:02 -04:00
bpg-autobot[bot]
47d80b9f27
chore(main): release 0.48.4 (#1119)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-03-12 21:51:55 -04:00
Pavel Boldyrev
ffc64d209a
fix(ci): missing releases from HashiCorp Registry (#1118)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-13 01:48:05 +00:00
bpg-autobot[bot]
b84e5c7399
chore(main): release 0.48.3 (#1109)
Co-authored-by: bpg-autobot[bot] <155200059+bpg-autobot[bot]@users.noreply.github.com>
2024-03-11 20:57:12 -04:00
renovate[bot]
29d60f5932
chore(docs): update terraform local (2.4.1 → 2.5.1) (#1116)
| datasource         | package         | from  | to    |
| ------------------ | --------------- | ----- | ----- |
| terraform-provider | hashicorp/local | 2.4.1 | 2.5.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 20:53:51 -04:00
renovate[bot]
a0597289b5
chore(deps): update module github.com/hashicorp/terraform-plugin-go (v0.22.0 → v0.22.1) (#1114)
| datasource | package                                  | from    | to      |
| ---------- | ---------------------------------------- | ------- | ------- |
| go         | github.com/hashicorp/terraform-plugin-go | v0.22.0 | v0.22.1 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-11 20:27:46 -04:00
renovate[bot]
04e74219e3
chore(ci): update google-github-actions/release-please-action action (v4.0.2 → v4.1.0) (#1115)
| datasource  | package                                     | from   | to     |
| ----------- | ------------------------------------------- | ------ | ------ |
| github-tags | google-github-actions/release-please-action | v4.0.2 | v4.1.0 |

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-12 00:27:11 +00:00
Pavel Boldyrev
106cdae0e9
misc(ci): disable acceptance test dispatch
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-11 20:24:15 -04:00
Pavel Boldyrev
b63f1b7889
fix(provider): EOF error when closing SSH session (#1113)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
2024-03-11 20:05:11 -04:00