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

F OpenNebula/one#6212: include DISK_TYPE from TM_MAD_CONF definitions (#2683)

Signed-off-by: Neal Hansen <nhansen@opennebula.io>
This commit is contained in:
Neal 2023-07-26 09:15:59 -06:00 committed by GitHub
parent ae2a6b8cb8
commit be38316f03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -500,6 +500,13 @@ int Datastore::set_tm_mad(const string &tm_mad, string &error_str)
replace_template_attribute("DRIVER", st);
}
st = vatt->vector_value("DISK_TYPE");
if (!st.empty())
{
replace_template_attribute("DISK_TYPE", st);
}
remove_template_attribute("SHARED");
}