Merge branch 'stable-2.7' into stable-2.8
[ganeti-local] / lib / config.py
index ed693a7..38316ad 100644 (file)
@@ -2562,6 +2562,7 @@ class ConfigWriter:
       self._EnsureUUID(net, ec_id)
 
     net.serial_no = 1
+    net.ctime = net.mtime = time.time()
     self._config_data.networks[net.uuid] = net
     self._config_data.cluster.serial_no += 1