Help with run WInst script
Verfasst: 08 Dez 2009, 16:40
Hi. maybe my question sounds very native, but: how run WInst script in client machine? In OPSI Manual at 3.5.3 write:
Creates a new localBoot product (wInst-Product).
This is right command to create a new package? Is this command right then i enter something like that:Result:
Traceback:
line 1447 in '<module>' in file '/usr/bin/opsi-admin'
line 434 in 'exit' in file '/usr/bin/opsi-admin'
==>>> Failed to execute 'method createLocalBootProduct 1 setdns 0.0.1 0.0.1 licenseRequired=0 setupScript=set_dns_efir.ins priority=10 description=dns advice=once productClassNames=localboot': 'NoneType' object has no attribute 'split'
ERROR: Failed to execute 'method createLocalBootProduct 1 setdns 0.0.1 0.0.1 licenseRequired=0 setupScript=set_dns_efir.ins priority=10 description=dns advice=once productClassNames=localboot': 'NoneType' object has no attribute 'split'
Please write me a small example for create new opsi package or tell me where i can see it. Thanks.
Code: Alles auswählen
method createLocalBootProduct <productId>, <name>, <productVersion>,
<packetVersion>, licenseRequired=0, setupScript="", uninstallScript="",
updateScript="", alwaysScript="", onceScript="", priority=10,
description="", advice="", productClassNames=('localBoot')
This is right command to create a new package? Is this command right then i enter something like that:
Code: Alles auswählen
opsi-admin method createLocalBootProduct 1 setdns 0.0.1 0.0.1 licenseRequired=0 setupScript=set_dns.ins, priority=10 description=dns advice=once productClassNames='localBoot'
Traceback:
line 1447 in '<module>' in file '/usr/bin/opsi-admin'
line 434 in 'exit' in file '/usr/bin/opsi-admin'
==>>> Failed to execute 'method createLocalBootProduct 1 setdns 0.0.1 0.0.1 licenseRequired=0 setupScript=set_dns_efir.ins priority=10 description=dns advice=once productClassNames=localboot': 'NoneType' object has no attribute 'split'
ERROR: Failed to execute 'method createLocalBootProduct 1 setdns 0.0.1 0.0.1 licenseRequired=0 setupScript=set_dns_efir.ins priority=10 description=dns advice=once productClassNames=localboot': 'NoneType' object has no attribute 'split'
Please write me a small example for create new opsi package or tell me where i can see it. Thanks.