89 lines
1.8 KiB
Plaintext
89 lines
1.8 KiB
Plaintext
[Package]
|
|
version: 2
|
|
depends:
|
|
incremental: False
|
|
|
|
[Product]
|
|
type: localboot
|
|
id: opsi-template
|
|
name: opsi template product
|
|
description: A template for opsi products
|
|
advice:
|
|
version: 4.0.2
|
|
priority: 0
|
|
licenseRequired: False
|
|
productClasses:
|
|
setupScript: setup3264.ins
|
|
uninstallScript: uninstall3264.ins
|
|
updateScript:
|
|
alwaysScript:
|
|
onceScript:
|
|
customScript:
|
|
userLoginScript:
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: install_architecture
|
|
multivalue: False
|
|
editable: False
|
|
description: which architecture (32/64 bit) has to be installed
|
|
values: ["32 only", "64 only", "both", "system specific"]
|
|
default: ["system specific"]
|
|
|
|
[ProductDependency]
|
|
action: setup
|
|
requiredProduct: sereby.aio
|
|
requiredStatus: installed
|
|
requirementType: before
|
|
|
|
[ProductDependency]
|
|
action: setup
|
|
requiredProduct: openvpn.manager
|
|
requiredStatus: installed
|
|
requirementType: before
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: htaccess-password
|
|
multivalue: False
|
|
editable: True
|
|
description: Password for downloading configfiles
|
|
values: [""]
|
|
default: ["secret"]
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: htaccess-user
|
|
multivalue: False
|
|
editable: True
|
|
description: Username for downloading configfiles
|
|
values: [""]
|
|
default: [""]
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: base-url
|
|
multivalue: False
|
|
editable: True
|
|
description: url for downloading configfiles, is extended by PCName or htaccess FileName in background
|
|
values: [""]
|
|
default: ["https://domain.com/openvpn"]
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: htaccess-file
|
|
multivalue: False
|
|
editable: True
|
|
description: Filename of the openvpn config zip file
|
|
|
|
[ProductProperty]
|
|
type: unicode
|
|
name: method
|
|
multivalue: False
|
|
editable: False
|
|
description: What should we do:
|
|
"pc-name" : use the Pcname for the zip file name
|
|
"filename-from-property": get filename from property 'htaccess-file'
|
|
values: ["filename-from-property", "pc-name"]
|
|
default: ["pc-name"]
|