Create a New Client using the opsi-client-bootcd

Antworten
aszykmat
Beiträge: 27
Registriert: 26 Nov 2015, 14:14

Create a New Client using the opsi-client-bootcd

Beitrag 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 ?
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

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

Beitrag 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

Code: Alles auswählen

import OPSI
aszykmat
Beiträge: 27
Registriert: 26 Nov 2015, 14:14

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

Beitrag von aszykmat »

Hi,
In future It's possible add the input with change depot master for client ?

Regards
Mateusz.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

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

Beitrag 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

Code: Alles auswählen

import OPSI
aszykmat
Beiträge: 27
Registriert: 26 Nov 2015, 14:14

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

Beitrag 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.
Benutzeravatar
n.wenselowski
Ex-uib-Team
Beiträge: 3194
Registriert: 04 Apr 2013, 12:15

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

Beitrag 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

Code: Alles auswählen

import OPSI
aszykmat
Beiträge: 27
Registriert: 26 Nov 2015, 14:14

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

Beitrag 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
Benutzeravatar
m.radtke
uib-Team
Beiträge: 1528
Registriert: 10 Jun 2015, 12:19

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

Beitrag 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
Kein Support per DM!
_________________________
opsi support - http://www.uib.de/
For productive opsi installations we recommend support contracts.
aszykmat
Beiträge: 27
Registriert: 26 Nov 2015, 14:14

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

Beitrag von aszykmat »

Hello,
I did it and I have found master.py but code surpassed me.

Regards,
Mateusz.
Antworten