Updated README example

This commit is contained in:
Enrique Martin 2023-07-28 09:52:16 +02:00
parent 2098daa909
commit 64917608d5
1 changed files with 5 additions and 6 deletions

View File

@ -35,12 +35,11 @@ import pandoraPluginTools as ppt
## Define agent
server_name = "WIN-SERV"
agent=ppt.init_agent()
agent.update(
agent_name = ppt.generate_md5(server_name),
agent_alias = server_name,
description = "Default Windows server",
)
agent=ppt.init_agent({
"agent_name" : ppt.generate_md5(server_name),
"agent_alias" : server_name,
"description" : "Default Windows server"
})
## Define modules
modules=[]