No Opsi Script Templates

spar1grep
Beiträge: 4
Registriert: 05 Jun 2017, 16:20

No Opsi Script Templates

Beitragvon spar1grep » 08 Jun 2017, 17:36

Hello,

Despite running the opsi-product-update -i -vv command and running it again which confirmed there was nothing to update I do not appear to have the template scripts present in the opt folder, could anyone advise how I can get the template scripts as I need the delsub32.ins sample script.

uncle_scrooge
Beiträge: 577
Registriert: 21 Feb 2012, 12:03
Wohnort: Mainz

Re: No Opsi Script Templates

Beitragvon uncle_scrooge » 08 Jun 2017, 19:35

Err? What 'template scripts' exactly do you expect below /opt?

Benutzeravatar
ngbr
Ex-uib-Team
Beiträge: 130
Registriert: 27 Sep 2010, 11:41

Re: No Opsi Script Templates

Beitragvon ngbr » 09 Jun 2017, 12:21

Hi spar1grep,

opsi-product-updater uses as its default config file, and connects to the mentioned depots.
nowadays the depot - share is located at /var/lib/opsi/depot . thats where the templates reside when 'installing' them via -i -vv .
> Note here, that you should use this command only when first installing the server. later you better not use -i, maybe in conjunction with -p .
A good practice for the templates could be to unpack them to your

Code: Alles auswählen

workbench a.k.a. opsiproducts# opsi-package-manager -x /var/lib/opsi/repository/opsi-template...opsi
.
also see

Code: Alles auswählen

opsi-product-updater --help
---
hoping to help :)

if your problem was solved, pls mark this thread as 'SOLVED'. thank you .

-- no PN support --

Andre