Changeset 1055 for opsi/server/dass-opsi-tools
- Timestamp:
- Aug 15, 2012, 3:33:27 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
opsi/server/dass-opsi-tools/usr/bin/opsi-client
r1054 r1055 1 1 #!/usr/bin/env python 2 2 3 """ospi-client: performs operation for opsi clients on opsi server via JSON-RPC.""" 4 5 __author__ = "Jörg Steffens" 6 __copyright__ = "Copyright 2012, dass IT GmbH" 7 __license__ = "GPL" 8 __version__ = "1.0" 9 __email__ = "joerg.steffens@dass-it.de" 10 11 # 3 12 # Skript, dass ein OPSI-Rechner-Eintrag kopiert. 4 13 # D.h. die Produkte, Anforderung. 5 14 # Ggf. optional Stand und ggf. Versionsnummer 6 15 # Ggf. optional ProductProperties 16 # 7 17 8 18 #self.command("opsi-admin -d method host_createOpsiClient "+ \ … … 10 20 #" \\'created by dassadmin\\' " + mac_address + " " + \ 11 21 #ip_address) 12 #method host_createOpsiClient id *opsiHostKey *description *notes *hardwareAddress *ipAddress *inventoryNumber *oneTimePassword *created *lastSeen13 22 #self.command("opsi-admin -d method configState_create clientconfig.depot.id " + \ 14 23 #computername + " " + depotName)
Note:
See TracChangeset
for help on using the changeset viewer.