Skip to content

Commit 1abcd29

Browse files
jaimecbaleixrm
authored andcommitted
F #558: Update docs and goca version with new OSVec
Signed-off-by: Jaime <jconchello@opennebula.io>
1 parent 9dba9ed commit 1abcd29

File tree

7 files changed

+56
-3
lines changed

7 files changed

+56
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
FEATURES:
44

55
* provider: Added a `--debug` flag for enabling provider debugging (#582)
6+
* shared_schemas: Add `machine`, `kernel`, `kernel_ds`, `initrd`, `initrd_ds`, `root`, `kernel_cmd`, `bootloader`, `sd_disk_bus`, `uuid`, `firmware` and `firmware_secure` to OS schema (#558)
67

78
# 1.4.1 (October 22nd, 2024)
89

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/OpenNebula/terraform-provider-opennebula
33
go 1.18
44

55
require (
6-
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20240528115224-c53e48565a10
6+
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20241120172129-bb65c2242412
77
github.com/hashicorp/go-uuid v1.0.3
88
github.com/hashicorp/go-version v1.6.0
99
github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMT
22
github.com/Microsoft/go-winio v0.4.14/go.mod h1:qXqCSQ3Xa7+6tgxaGTIe4Kpcdsi+P8jBhyzoq1bpyYA=
33
github.com/Microsoft/go-winio v0.4.16 h1:FtSW/jqD+l4ba5iPBj9CODVtgfYAD8w2wS923g/cFDk=
44
github.com/Microsoft/go-winio v0.4.16/go.mod h1:XB6nPKklQyQ7GC9LdcBEcBl8PF76WugXOPRXwdLnMv0=
5-
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20240528115224-c53e48565a10 h1:g++kihIwzRFwxAV6fQzvwsEP6/l9ej8G/tixWaNBc1M=
6-
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20240528115224-c53e48565a10/go.mod h1:dvAwZi1Aol7eu6BENzHtl8ztGBkacB9t/fJj+fYk+Xg=
5+
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20241120172129-bb65c2242412 h1:CUdtKmQcq03A3ludh8AMp+g2NpUdizZU7E7fuuzLzo8=
6+
github.com/OpenNebula/one/src/oca/go/src/goca v0.0.0-20241120172129-bb65c2242412/go.mod h1:dvAwZi1Aol7eu6BENzHtl8ztGBkacB9t/fJj+fYk+Xg=
77
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7 h1:YoJbenK9C67SkzkDfmQuVln04ygHj3vjZfd9FL+GmQQ=
88
github.com/ProtonMail/go-crypto v0.0.0-20210428141323-04723f9f07d7/go.mod h1:z4/9nQmJSSwwds7ejkxaJwO37dru3geImFUdJlaLzQo=
99
github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=

website/docs/r/template.html.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,19 @@ The following arguments are supported:
128128

129129
* `arch` - (Required) Hardware architecture of the Virtual machine. Must fit the host architecture.
130130
* `boot` - (Optional) `OS` disk to use to boot on.
131+
* `machine` - (Optional) libvirt machine type.
132+
* `kernel` - (Optional) Path to the `OS` kernel to boot the image in the host.
133+
* `kernel_ds` - (Optional) Image to be used as kernel. (see !!)
134+
* `initrd` - (Optional) Path to the initrd image in the host.
135+
* `initrd_ds` - (Optional) Image to be used as ramdisk. (see !!)
136+
* `root` - (Optional) Device to be mounted as root.
137+
* `kernel_cmd` - (Optional) Arguments for the booting kernel.
138+
* `bootloader` - (Optional) Path to the bootloader executable.
139+
* `sd_disk_bus` - (Optional) Bus for disks with sd prefix, either `scsi` or `sata`, if attribute is missing, libvirt chooses itself.
140+
* `uuid` - (Optional) Unique ID of the VM.
141+
* `firmware` - (Optional) Firmware type or firmware path. Possible values: `BIOS` or path for KVM, `BIOS` or `UEFI` for vCenter.
142+
* `firmware_secure` - (Optional) Enable Secure Boot. (Can be `true` or `false`).
143+
* (!!) Use one of `kernel_ds` or `kernel` (and `initrd` or `initrd_ds`).
131144

132145
### Features parameters
133146

website/docs/r/virtual_machine.html.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,19 @@ The following arguments are supported:
129129

130130
* `arch` - (Required) Hardware architecture of the Virtual machine. Must fit the host architecture.
131131
* `boot` - (Optional) `OS` disk to use to boot on.
132+
* `machine` - (Optional) libvirt machine type.
133+
* `kernel` - (Optional) Path to the `OS` kernel to boot the image in the host.
134+
* `kernel_ds` - (Optional) Image to be used as kernel. (see !!)
135+
* `initrd` - (Optional) Path to the initrd image in the host.
136+
* `initrd_ds` - (Optional) Image to be used as ramdisk. (see !!)
137+
* `root` - (Optional) Device to be mounted as root.
138+
* `kernel_cmd` - (Optional) Arguments for the booting kernel.
139+
* `bootloader` - (Optional) Path to the bootloader executable.
140+
* `sd_disk_bus` - (Optional) Bus for disks with sd prefix, either `scsi` or `sata`, if attribute is missing, libvirt chooses itself.
141+
* `uuid` - (Optional) Unique ID of the VM.
142+
* `firmware` - (Optional) Firmware type or firmware path. Possible values: `BIOS` or path for KVM, `BIOS` or `UEFI` for vCenter.
143+
* `firmware_secure` - (Optional) Enable Secure Boot. (Can be `true` or `false`).
144+
* (!!) Use one of `kernel_ds` or `kernel` (and `initrd` or `initrd_ds`).
132145

133146
### Disk parameters
134147

website/docs/r/virtual_router_instance.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,19 @@ The following arguments are supported:
118118

119119
* `arch` - (Required) Hardware architecture of the virtual router instance. Must fit the host architecture.
120120
* `boot` - (Optional) `OS` disk to use to boot on.
121+
* `machine` - (Optional) libvirt machine type.
122+
* `kernel` - (Optional) Path to the `OS` kernel to boot the image in the host.
123+
* `kernel_ds` - (Optional) Image to be used as kernel. (see !!)
124+
* `initrd` - (Optional) Path to the initrd image in the host.
125+
* `initrd_ds` - (Optional) Image to be used as ramdisk. (see !!)
126+
* `root` - (Optional) Device to be mounted as root.
127+
* `kernel_cmd` - (Optional) Arguments for the booting kernel.
128+
* `bootloader` - (Optional) Path to the bootloader executable.
129+
* `sd_disk_bus` - (Optional) Bus for disks with sd prefix, either `scsi` or `sata`, if attribute is missing, libvirt chooses itself.
130+
* `uuid` - (Optional) Unique ID of the VM.
131+
* `firmware` - (Optional) Firmware type or firmware path. Possible values: `BIOS` or path for KVM, `BIOS` or `UEFI` for vCenter.
132+
* `firmware_secure` - (Optional) Enable Secure Boot. (Can be `true` or `false`).
133+
* (!!) Use one of `kernel_ds` or `kernel` (and `initrd` or `initrd_ds`).
121134

122135
### Disk parameters
123136

website/docs/r/virtual_router_instance_template.markdown

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,19 @@ resource "opennebula_virtual_router_instance_template" "example" {
8888

8989
* `arch` - (Required) Hardware architecture of the Virtual machine. Must fit the host architecture.
9090
* `boot` - (Optional) `OS` disk to use to boot on.
91+
* `machine` - (Optional) libvirt machine type.
92+
* `kernel` - (Optional) Path to the `OS` kernel to boot the image in the host.
93+
* `kernel_ds` - (Optional) Image to be used as kernel. (see !!)
94+
* `initrd` - (Optional) Path to the initrd image in the host.
95+
* `initrd_ds` - (Optional) Image to be used as ramdisk. (see !!)
96+
* `root` - (Optional) Device to be mounted as root.
97+
* `kernel_cmd` - (Optional) Arguments for the booting kernel.
98+
* `bootloader` - (Optional) Path to the bootloader executable.
99+
* `sd_disk_bus` - (Optional) Bus for disks with sd prefix, either `scsi` or `sata`, if attribute is missing, libvirt chooses itself.
100+
* `uuid` - (Optional) Unique ID of the VM.
101+
* `firmware` - (Optional) Firmware type or firmware path. Possible values: `BIOS` or path for KVM, `BIOS` or `UEFI` for vCenter.
102+
* `firmware_secure` - (Optional) Enable Secure Boot. (Can be `true` or `false`).
103+
* (!!) Use one of `kernel_ds` or `kernel` (and `initrd` or `initrd_ds`).
91104

92105
### Features parameters
93106

0 commit comments

Comments
 (0)