From 9eec67cc51b69f9730379d321e9065d533aa424b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 24 Nov 2008 22:17:52 +0000 Subject: [PATCH] log getbootmedium calls --- PLC/Methods/GetBootMedium.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PLC/Methods/GetBootMedium.py b/PLC/Methods/GetBootMedium.py index c4e89d4..6e736b7 100644 --- a/PLC/Methods/GetBootMedium.py +++ b/PLC/Methods/GetBootMedium.py @@ -360,6 +360,13 @@ class GetBootMedium(Method): raise PLCPermissionDenied, "Could not create dir %s"%filedir + # log call + if node: + self.message='GetBootMedium on node %s - action=%s'%(nodename,action) + self.event_objects={'Node': [ node ]} + else: + self.message='GetBootMedium - generic - action=%s'%action + ### generic media if action == 'generic-iso' or action == 'generic-usb': if options: -- 2.43.0