1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5559: Fix User Input for Encrypted attribute (#2129)

(cherry picked from commit ffb58d431a0e6381fce7661f70c59acf001bc3cb)
This commit is contained in:
Pavel Czerný 2022-06-07 10:34:47 +02:00 committed by Ruben S. Montero
parent 4bd657ccb4
commit 1b70b07c2b
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

View File

@ -758,6 +758,9 @@ int VirtualMachine::insert(SqlDB * db, string& error_str)
vector<Template *> quotas;
ostringstream oss;
//Decrypt attributes before parsing them
decrypt();
// ------------------------------------------------------------------------
// Set a name if the VM has not got one and VM_ID
// ------------------------------------------------------------------------