Seite 1 von 1

Create a New Client using the opsi-client-bootcd

Verfasst: 18 Apr 2016, 13:27
von aszykmat
Hello,
When I try install system by opsi-client-bootcd and authorize by second depot-server that bootimage connect to primary depot server for download Windows.

Authorize is in second depot but add client to primary depot server (config server).

My OPSI servers:
1. Config Server
2. Master Depot Server
3. Master Depot Server

Can I force second repository ?

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 18 Apr 2016, 14:23
von n.wenselowski
Hi,

the client is created with default settings and they usually point to the master depot.

It should work the create the client in the configed, move it to your depot and then start from CD.


Kind regards

Niko

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 15 Sep 2016, 10:36
von aszykmat
Hi,
In future It's possible add the input with change depot master for client ?

Regards
Mateusz.

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 19 Sep 2016, 12:05
von n.wenselowski
Hi Mateusz,
aszykmat hat geschrieben:In future It's possible add the input with change depot master for client ?
Why not? :)
I created an internal ticket for that.
No due date but may come in the future. As usual things that are important for you can be given higher priority through a support contract.


Kind regards

Niko

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 21 Sep 2016, 15:25
von aszykmat
Hi Niko,
Good news :D !
The feature make it easier without login to control panel.

Source of opsi-client-bootcd is available in git or SVN ?

Regards,
Mateusz.

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 22 Sep 2016, 12:40
von n.wenselowski
Hi Mateusz,
aszykmat hat geschrieben:Source of opsi-client-bootcd is available in git or SVN ?
Unfortunately not.
But you can extract the bootimage (with cpio) and then edit the master.py in there.
I've posted the commands somewhere in the forums iirc. If you want them and don't find them let me know and I'll look :)


Kind regards

Niko

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 25 Sep 2016, 22:37
von aszykmat
Hi Niko,
I tried find some information about select depot during netboot installation but I can't find :(
Only I have found information about select config depot in bootcd.

Tomorrow I will work with master.py

Regards,
Mateusz

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 27 Sep 2016, 14:53
von m.radtke
If you want to unpack the bootimage unpack the bz2 first and then

Code: Alles auswählen

cpio -idmv < FILE 
best to do this in a seperate folder
If you made your changes and want to get a miniroot again type this command

Code: Alles auswählen

find . | grep -v miniroot.bz2 | cpio -o -H newc | bzip2 > miniroot.bz2
Cheers
Mathias

Re: Create a New Client using the opsi-client-bootcd

Verfasst: 27 Sep 2016, 15:27
von aszykmat
Hello,
I did it and I have found master.py but code surpassed me.

Regards,
Mateusz.