mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
Bug #4696: OneGate token is not being properly generated
(cherry picked from commit eae3a5585fca95b6e22fb5963c74a96b56c81ae7)
This commit is contained in:
parent
8bba5b8b73
commit
58206b5fca
@ -2319,7 +2319,7 @@ private
|
||||
onegate_token_flag = xml.root.elements["/VM/TEMPLATE/CONTEXT/TOKEN"]
|
||||
if onegate_token_flag and
|
||||
onegate_token_flag.text == "YES" and
|
||||
!newvm
|
||||
newvm
|
||||
# Create the OneGate token string
|
||||
vmid_str = xml.root.elements["/VM/ID"].text
|
||||
stime_str = xml.root.elements["/VM/STIME"].text
|
||||
|
Loading…
x
Reference in New Issue
Block a user