diff --git a/examples/setup_server_plugin_service.py b/examples/setup_server_plugin_service.py index c6a3a8a..f711be6 100644 --- a/examples/setup_server_plugin_service.py +++ b/examples/setup_server_plugin_service.py @@ -92,7 +92,7 @@ def main(): args, _unknown = parser.parse_known_args() # allow set global scoped vars - global bes_conn, verbose, config_ini, invoke_folder + global bes_conn, verbose, invoke_folder verbose = args.verbose # get folder the script was invoked from: @@ -169,7 +169,7 @@ def main(): ) ) - # print(root_id) + logging.info("Root server computer id: %s", root_id) InstallPluginService_id = int( bes_conn.session_relevance_string( @@ -192,6 +192,17 @@ def main(): ConfigureCredentials_id, ) + EnableWakeOnLAN_id = int( + bes_conn.session_relevance_string( + 'unique value of ids of fixlets whose(name of it contains "Enable Wake-on-LAN Medic") of bes sites whose(name of it = "BES Support")' + ) + ) + + logging.info( + "Enable Wake-on-LAN Medic content id: %s", + EnableWakeOnLAN_id, + ) + # NOTE: Work in progress XML_String_MultiActionGroup = f""" @@ -224,6 +235,13 @@ def main(): + + + BES Support + {EnableWakeOnLAN_id} + Action1 + + true P7D