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:
parent
ae2a6b8cb8
commit
be38316f03
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user