Changeset 1894
- Timestamp:
- Jun 9, 2016, 4:40:40 PM (5 years ago)
- Location:
- lmd/trunk/fuentes
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
lmd/trunk/fuentes/debian/changelog
r1873 r1894 1 lmd (2.4.43) xenial; urgency=high 2 3 * Added enhacements to change status for images and reflect it gui 4 5 -- joamuran <joamuran@gmail.com> Thu, 09 Jun 2016 16:39:15 +0200 6 1 7 lmd (2.4.42) xenial; urgency=high 2 8 -
lmd/trunk/fuentes/lmd-server.install/etc/n4d/conf.d/LmdImageManager
r392 r1894 8 8 setImage=admin,admins,adm 9 9 setStatusImage=admin,admins,adm 10 setNewTaskIdForImage=admin,admins,adm 10 11 deleteImage=admin,admins,adm -
lmd/trunk/fuentes/lmd-server.install/usr/share/n4d/python-plugins/LmdImageManager.py
r1870 r1894 187 187 self.setImage(img_id, json.dumps(data)); 188 188 189 190 def setNewTaskIdForImage(self, img_id, newid): 191 192 json_data=open(self.imagepath+img_id+".json") 193 data = json.load(json_data) 194 json_data.close() 195 196 # Set status 197 data["taskid"]=newid 198 199 self.setImage(img_id, json.dumps(data)); 200 189 201 190 202 -
lmd/trunk/fuentes/lmd-server.install/usr/share/n4d/python-plugins/LmdServer.py
r1875 r1894 229 229 230 230 objects['LlxBootManager'].pushToBootList("ltsp_label"+str(imgid)); 231 232 # Setting new taskid to the image, so we know that it is refreshing 233 objects['LmdImageManager'].setNewTaskIdForImage(imgid, ret["msg"]); 231 234 return {"status": True, "msg": ret["msg"]} # Returns task id!! 232 235
Note: See TracChangeset
for help on using the changeset viewer.