mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
'created_by' annotation
This commit is contained in:
parent
df9c8b5647
commit
efda9dfe42
1 changed files with 1 additions and 0 deletions
|
|
@ -167,6 +167,7 @@ def clone_vm template, pool, folder, datastore
|
||||||
configSpec = RbVmomi::VIM.VirtualMachineConfigSpec(
|
configSpec = RbVmomi::VIM.VirtualMachineConfigSpec(
|
||||||
:annotation => JSON.pretty_generate({
|
:annotation => JSON.pretty_generate({
|
||||||
name: vm['hostname'],
|
name: vm['hostname'],
|
||||||
|
created_by: $config[:vsphere]['username'],
|
||||||
base_template: vm['template'],
|
base_template: vm['template'],
|
||||||
creation_timestamp: Time.now.utc
|
creation_timestamp: Time.now.utc
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue