Add timestamps to Nodes, PCUs and Interfaces to make concrete
[plcapi.git] / PLC / Methods / GetBootMedium.py
index 848796d..53f68a1 100644 (file)
@@ -199,6 +199,7 @@ class GetBootMedium(Method):
         # renew the key and save it on the database
         if renew_key:
             node['key'] = compute_key()
+            node.update_last_download(commit=False)
             node.sync()
 
         # Generate node configuration file suitable for BootCD