Seite 1 von 1

install multiple packages on depot server?

Verfasst: 23 Sep 2015, 20:46
von SisterOfMercy
I'm trying to setup a few slave depot servers. I'm trying to avoid having to run 'opsi-package-manager -i %package% -d all' in every package directory.

Isn't there a easier way to put all packages on a new depot? All packages are installed on the current server with 'opsi-package-manager -i %package%'. This does not upload it to the local repository. So using opsi-product-updater on the new depot will not work.

Is there also a better way to sync netboot products? I've found this topic: viewtopic.php?t=4332

This would mean you would also have to sync driver directories by hand, and other changes. For instance, any changes in \\opsi\opsi_depot_rw\win7-x64\custom\unattend.xml will not be synced.

Re: install multiple packages on depot server?

Verfasst: 24 Sep 2015, 09:48
von loggenk
Hi,

I use rsync for that action

Greetings,

Kees...

Re: install multiple packages on depot server?

Verfasst: 25 Sep 2015, 01:13
von SisterOfMercy
loggenk hat geschrieben:I use rsync for that action
How do you do that? I mean, do you synch the entire directory, or do you have seperate entries for each subdir that should be synched?

I solved the problem of no packages in the repository this way:

Code: Alles auswählen

cd /home/opsiproducts
find . -name *.opsi | sort
This gives a list like this:

Code: Alles auswählen

./inkscape/inkscape_0.91-1.opsi
./insted/insted_1.5.15.26-1.opsi
./ipe/ipe_7.1.7-1.opsi
./java-runtime/java-runtime_1.8.0.60-1.opsi 
Add a few spaces and a command.. this works:

Code: Alles auswählen

opsi-package-manager -i ./inkscape/inkscape_0.91-1.opsi ./insted/insted_1.5.15.26-1.opsi ./ipe/ipe_7.1.7-1.opsi ./java-runtime/java-runtime_1.8.0.60-1.opsi -d new-depot.domain.thingie
Of course, after this, the new depot server has everything stored in the repository which will be used for other depot servers.