Commit Graph

96 Commits

Author SHA1 Message Date
Virgil
2919c3a1bf Get the current pool and save it 2019-10-11 11:31:09 +02:00
Grant Gongaware
c208254130 Merge branch 'master' of github.com:Telmate/terraform-provider-proxmox 2019-10-10 10:29:29 -07:00
Grant Gongaware
e38fec05ce support terraform 0.12 connection rules 2019-10-10 10:29:02 -07:00
Grant Gongaware
42a9c68624
Merge pull request #96 from in0rdr/fix/empty-feature
Check feature list length
2019-10-09 11:03:37 -07:00
Bob
3c274cd879 Added ipconfig2 everywhere ipconfig1 is listed, should enable 3 networks to be configured in cloud-init
As referenced here, https://pve.proxmox.com/wiki/Cloud-Init_Support, proxmox cloud-init should support
ipconfig[n]: [gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]

Future work should be a loop to support [n] ipconfig lines
 Changes to be committed:
	modified:   proxmox/resource_vm_qemu.go
2019-10-03 11:23:04 -04:00
Andreas Gruhler
a832f0b98f check feature list length 2019-10-03 06:22:05 +02:00
Claude Dioudonnat
18743c0e54 Add choice between full or partial clone 2019-09-30 14:57:59 +02:00
Andreas Gruhler
d01d60f68c change gw to string 2019-09-29 19:49:47 +02:00
Grant Gongaware
23e407d44c restore ssh port option for ssh_forward 2019-09-04 12:45:02 -07:00
Virgil
f9032bf31b
Fix Cloud-init resizing
Cloud init is returning a disk size in MB and the function diskSizeGB was not able to convert it in GB so the new disk size was not the wanted one.
I have also added support for other units, will be useful for the future.
2019-08-16 19:17:00 +02:00
Virgil
55cd3caa5c Merge remote-tracking branch 'upstream/master' into feature/cpu 2019-08-15 09:59:50 +02:00
Grant Gongaware
2ac1ecdbc5 support PM_OTP_PROMPT for ondemand interactive OTP 2019-08-14 09:48:13 -07:00
Virgil
a8af234608 Merge remote-tracking branch 'upstream/master' into feature/cpu 2019-08-14 18:24:21 +02:00
Grant Gongaware
8084bb95c7 Work around OTP being required by default 2019-08-14 08:07:58 -07:00
Grant Gongaware
c8a7b20574 Revert "Temporary Revert "Use OTP 2FA", Not acting backward compatible"
This reverts commit 336b5842fe.
2019-08-14 08:01:07 -07:00
Grant Gongaware
336b5842fe Temporary Revert "Use OTP 2FA", Not acting backward compatible
This reverts commit d596852f8c.
2019-08-13 14:50:35 -07:00
Virgil
322ba756da Merge remote-tracking branch 'upstream/master' into feature/cpu 2019-08-13 20:51:26 +02:00
Virgil
5158d17a3c Serial devices management 2019-08-06 16:06:11 +02:00
Virgil
f0a71f4dce Add hotplug support 2019-08-06 12:38:48 +02:00
Virgil
1d79b7ec8d Add Numa and other CPU type support 2019-08-06 09:52:23 +02:00
Virgil
025f0f809c Terraform is able to set the boot order and the main disk 2019-08-05 20:07:51 +02:00
Grant Gongaware
0be9504190
Merge pull request #70 from V-Paranoiaque/feature/scsihw
Add SCSI controller support
2019-08-05 09:31:43 -07:00
Virgil
d596852f8c Use OTP 2FA 2019-08-05 17:57:39 +02:00
Virgil
0a4fe13182 Add SCSI controller support 2019-08-05 11:04:41 +02:00
Grant Gongaware
5a325404c8
Merge pull request #63 from in0rdr/feature/lxc
Feature/lxc
2019-07-26 06:33:09 -07:00
Andreas Gruhler
b734e7888f add pool to qemu resource 2019-07-14 01:48:45 +02:00
Andreas Gruhler
c61e47e9c7 cleanup indentation 2019-07-06 11:10:51 +02:00
Andreas Gruhler
c879c4ca2f reuse resourceVmQemuDelete for lxc 2019-07-06 10:58:27 +02:00
Andreas Gruhler
1227a20056 cleanup update function 2019-07-06 10:58:27 +02:00
Andreas Gruhler
9c1cd150f6 add resourceLxcUpdate 2019-07-06 10:58:27 +02:00
Andreas Gruhler
abe8e813d7 resourceLxcRead 2019-07-06 10:58:27 +02:00
Andreas Gruhler
2bafe382b3 add all proxmox params for lxc 2019-07-06 10:58:27 +02:00
Andreas Gruhler
aab63df6e4 add parameters for /nodes/{n}/lxc 2019-07-06 10:58:27 +02:00
Andreas Gruhler
97851be443 order schema alphabetically 2019-07-06 10:58:27 +02:00
Andreas Gruhler
9276217198 reuse device mapping functionality 2019-07-06 10:58:27 +02:00
Andreas Gruhler
c3d462e390 add lxc resource 2019-07-06 10:58:27 +02:00
Grant Gongaware
695ac7c537
Merge pull request #54 from bkmeneguello/agent
Add missing agent on update
2019-05-23 11:09:53 -07:00
Grant Gongaware
9fe5f2c393
Merge pull request #57 from bkmeneguello/defaults
Some sane defaults
2019-05-23 10:58:56 -07:00
Bruno Meneguello
77858d873c
Some sane defaults 2019-05-23 09:39:18 -03:00
Bruno Meneguello
475a365d37
Add missing agent on update 2019-05-23 09:06:24 -03:00
Bruno Meneguello
a6163cec93
Better import method and error message 2019-05-23 08:39:39 -03:00
Grant Gongaware
24a4408337 Document login ENV.
Change agent default to match proxmox default
2019-05-21 19:24:15 -07:00
Christopher Winkelmann
fb33f8bc62 Fixed schema type and default value for agent field in resourceVmQemu 2019-05-17 01:56:17 +02:00
Christopher Winkelmann
bd6051a7c5 Changed agend type to int to fix https://github.com/Telmate/terraform-provider-proxmox/issues/46 2019-05-17 01:09:53 +02:00
Max K
b38b0f17b1 added new config resource, edited .gitignore 2019-04-12 17:57:49 +03:00
Grant Gongaware
471658bd10 Merge branch 'master' of github.com:Telmate/terraform-provider-proxmox 2019-03-07 08:05:05 -08:00
Grant Gongaware
bf98b941f7 change "macaddr" to behave like original "mac" 2019-03-07 08:04:45 -08:00
Andrzej Ressel
4c8997ba6e Fix VM name changing
Also use id instead of name when updating/reading
2019-01-30 21:25:00 +01:00
Andrzej Ressel
47ddee58b5 Show message when neither clone nor iso is set 2019-01-12 19:04:16 +01:00
Grant Gongaware
414c2fc749 support different types for disk size 2019-01-09 08:46:14 -08:00