mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-06-30 02:31:10 +00:00
fix(vm): update smbios
during clone (#827)
Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
parent
552f56f289
commit
0ffe75afa4
@ -143,6 +143,10 @@ resource "proxmox_virtual_environment_vm" "example" {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
smbios {
|
||||||
|
serial = "my-custom-serial"
|
||||||
|
}
|
||||||
|
|
||||||
initialization {
|
initialization {
|
||||||
// if unspecified:
|
// if unspecified:
|
||||||
// - autodetected if there is a cloud-init device on the template
|
// - autodetected if there is a cloud-init device on the template
|
||||||
|
@ -2176,6 +2176,8 @@ func vmCreateClone(ctx context.Context, d *schema.ResourceData, m interface{}) d
|
|||||||
|
|
||||||
updateBody.StartOnBoot = &onBoot
|
updateBody.StartOnBoot = &onBoot
|
||||||
|
|
||||||
|
updateBody.SMBIOS = vmGetSMBIOS(d)
|
||||||
|
|
||||||
updateBody.StartupOrder = vmGetStartupOrder(d)
|
updateBody.StartupOrder = vmGetStartupOrder(d)
|
||||||
|
|
||||||
//nolint:gosimple
|
//nolint:gosimple
|
||||||
|
Loading…
Reference in New Issue
Block a user