opsi manual opsi version 4.0.2 - opsi Download - uib
opsi manual opsi version 4.0.2 - opsi Download - uib
opsi manual opsi version 4.0.2 - opsi Download - uib
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>opsi</strong> <strong>manual</strong> <strong>opsi</strong> <strong>version</strong> <strong>4.0.2</strong><br />
Figure 73: Depot properties from the <strong>opsi</strong>-configed<br />
131 / 193<br />
From the command line the depot properties can be shown by the method host_getObjects. Here e.g. for the depot<br />
dep1.<strong>uib</strong>.local.<br />
<strong>opsi</strong>-admin -d method host_getObjects [] ’{"id":"dep1.<strong>uib</strong>.local"}’<br />
This call results in the following output:<br />
[<br />
]<br />
{<br />
"masterDepotId" : "masterdepot.<strong>uib</strong>.local",<br />
"ident" : "dep1.<strong>uib</strong>.local",<br />
"networkAddress" : "192.168.101.0/255.255.255.0",<br />
"description" : "Depot 1 Master Depot",<br />
"inventoryNumber" : "",<br />
"ipAddress" : "192.168.105.1",<br />
"repositoryRemoteUrl" : "webdavs://dep1.<strong>uib</strong>.local:4447/repository",<br />
"depotLocalUrl" : "file:///opt/pcbin/install",<br />
"isMasterDepot" : true,<br />
"notes" : "",<br />
"hardwareAddress" : "52:54:00:37:c6:8b",<br />
"maxBandwidth" : 0,<br />
"repositoryLocalUrl" : "file:///var/lib/<strong>opsi</strong>/repository",<br />
"<strong>opsi</strong>HostKey" : "6a13da751fe76b9298f4ede127280809",<br />
"type" : "OpsiDepotserver",<br />
"id" : "dep1.<strong>uib</strong>.local",<br />
"depotWebdavUrl" : "webdavs://dep1.<strong>uib</strong>.local:4447/depot",<br />
"depotRemoteUrl" : "smb://dep1/opt_pcbin/install"<br />
}<br />
To edit the depot properties on the command line, the output can be redirected to a file:<br />
<strong>opsi</strong>-admin -d method host_getObjects [] ’{"id":"dep1.<strong>uib</strong>.local"}’ \<br />
> /tmp/depot_config.json