mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
Bug #4696: OneGate token is not being properly generated
This commit is contained in:
1 parent
8b2799efe8
commit
eae3a5585f
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user