Fix appliance properties lost when you create two node from template

This commit is contained in:
Julien Duponchelle committed 2017-06-28 09:37:19 +02:00
1 parent 617868402f
commit 0a6dc55645
4 files changed
+22 -5

No files matched your search

+2 -1
View File
@@ -15,6 +15,7 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
import copy
import uuid
@@ -54,7 +55,7 @@ class Appliance:
@property
def data(self):
return self._data
return copy.deepcopy(self._data)
@property
def name(self):