mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Store template name in vmpooler__vm__$vm Redis hash
This commit is contained in:
parent
17b1768a76
commit
4363d8e067
1 changed files with 1 additions and 0 deletions
|
|
@ -184,6 +184,7 @@ module Vmpooler
|
|||
# Add VM to Redis inventory ('pending' pool)
|
||||
$redis.sadd('vmpooler__pending__'+vm['template'], vm['hostname'])
|
||||
$redis.hset('vmpooler__vm__'+vm['hostname'], 'clone', Time.now)
|
||||
$redis.hset('vmpooler__vm__'+vm['hostname'], 'template', vm['template'])
|
||||
|
||||
# Annotate with creation time, origin template, etc.
|
||||
configSpec = RbVmomi::VIM.VirtualMachineConfigSpec(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue