canmove, Confirmed users
6,441
edits
Lukasblakk (talk | contribs) |
No edit summary |
||
| Line 1: | Line 1: | ||
This procedure will re-create the Windows 2003 based reference image | This procedure will re-create the Windows 2003 based reference image. Internally, this VM is named '''win2k3sp2-vc8tools-ref-vm'''. | ||
When you '''update''' the ref platform, also update the text file on the desktop of the VM (in both Admin and cltbld) to the '''new version number'''. | When you '''update''' the ref platform, also update the text file on the desktop of the VM (in both Admin and cltbld) to the '''new version number'''. | ||
| Line 394: | Line 394: | ||
rm tar-1.19.90-MSYS-1.0.11-2-bin.tar.gz</pre> | rm tar-1.19.90-MSYS-1.0.11-2-bin.tar.gz</pre> | ||
== Version 16 == | |||
=== OPSI Client & Autoit === | |||
==== Enable File and Print Sharing ==== | |||
==Version 16== | |||
= | |||
== OPSI Client & Autoit == | |||
=== Enable File and Print Sharing === | |||
* Enable File & Print Sharing | * Enable File & Print Sharing | ||
** Control Panel -> Network Connections -> Local Area Connection -> Properties | ** Control Panel -> Network Connections -> Local Area Connection -> Properties | ||
| Line 421: | Line 406: | ||
*** Click "Change Scope" | *** Click "Change Scope" | ||
*** Select "Custom List" | *** Select "Custom List" | ||
*** Enter the IP address of the OPSI server | *** Enter the IP address of the production OPSI server (10.2.71.64) | ||
==== OPSI Prep and Install ==== | |||
'''NB:''' This has to be done post-install too, otherwise OPSI won't register the new clone properly. See instructions in the post-install section for that. | |||
We need to flip a few options in Windows to enable certain packages to install without prompting. | We need to flip a few options in Windows to enable certain packages to install without prompting. | ||
* Do not prompt for unsigned drivers (needed for at least the windows mobile sdk) | * Do not prompt for unsigned drivers (needed for at least the windows mobile sdk) | ||
** Control Panel -> System -> Hardware -> Driver Signing, choose "Ignore". | ** Control Panel -> System -> Hardware -> Driver Signing, choose "Ignore". | ||
* Security Settings | * Security Settings | ||
** Start Menu -> Run -> | ** Start Menu -> Run -> \\10.2.71.64 | ||
** Use 'pcpatch' and the root password when prompted. | ** Use 'pcpatch' and the root password when prompted. | ||
** Right click 'opt_pcbin' and select 'Mount as Network Drive' | ** Right click 'opt_pcbin' and select 'Mount as Network Drive' | ||
| Line 438: | Line 425: | ||
Once OPSI is finished installing it will forcibly reboot the system. In a few minutes it should come back up and the client should be listed in the OPSI GUI. | Once OPSI is finished installing it will forcibly reboot the system. In a few minutes it should come back up and the client should be listed in the OPSI GUI. | ||
=== Autoit === | ==== Autoit ==== | ||
We require Autoit to deploy many packages. To install it, do the following: | We require Autoit to deploy many packages. To install it, do the following: | ||
* Checkout the installer: | * Checkout the installer: | ||
| Line 444: | Line 431: | ||
* (as Administrator), run the installer, accept the defaults | * (as Administrator), run the installer, accept the defaults | ||
= Manual Setup Steps after VMImage = | |||
== Add drive E == | == Add drive E == | ||
| Line 474: | Line 459: | ||
* Reboot. (You may as well do this after the next step, changing your display settings) | * Reboot. (You may as well do this after the next step, changing your display settings) | ||
* After reboot, the hostname will be truncated to 15 characters in your environment, but if you use the 'hostname' command in msys, it'll show the full hostname. | * After reboot, the hostname will be truncated to 15 characters in your environment, but if you use the 'hostname' command in msys, it'll show the full hostname. | ||
== Register with OPSI == | |||
=== Firewall setup === | |||
'''For staging slaves only''' (the ref platform is already setup correctly for production slaves). | |||
* Open firewall (only to opsi server) | |||
** Control Panel -> Windows Firewall -> Exceptions | |||
** Enable "File and Print Sharing", click "Edit" | |||
** For each entry: | |||
*** Click "Change Scope" | |||
*** Select "Custom List" | |||
*** Enter the IP address of the staging OPSI server (10.2.71.216). | |||
=== The rest === | |||
(Applicable to staging and production). | |||
* Security Settings | |||
** Start Menu -> Run -> \\$ipOfOpsiServer (staging: \\10.2.71.216, production: 10.2.71.64) | |||
** Use 'pcpatch' and the root password when prompted. | |||
** Right click 'opt_pcbin' and select 'Mount as Network Drive' | |||
** Browse to z:\install\preloginloader | |||
** Double click 'opsi-prep.vbs' | |||
** Double click 'service-setup.cmd', hit a key when prompted | |||
** When prompted for a username and password use 'root' and the appropriate password. | |||
Once OPSI is finished installing it will forcibly reboot the system. In a few minutes it should come back up and the client should be listed in the OPSI GUI. | |||
== Installing Buildbot == | == Installing Buildbot == | ||