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