diff --git a/src/datastore/Datastore.cc b/src/datastore/Datastore.cc index edb2989ef3..43135814a9 100644 --- a/src/datastore/Datastore.cc +++ b/src/datastore/Datastore.cc @@ -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"); }