PostImage: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
No edit summary
(remove hostname-setting instructions, per IRC conversation with armenzg)
 
(22 intermediate revisions by 4 users not shown)
Line 1: Line 1:
After cloning a system from the [[ReferencePlatforms|ReferencePlatforms]], the following steps need to be done on the new system:
After cloning a system from the [[ReferencePlatforms|ReferencePlatforms]], the following steps need to be done on the new system.  In general, IT will take care of the steps here.  The releng crew (usually slave duty) will then finish things up with [[ReleaseEngineering/How To/Set Up a Freshly Imaged Slave]]


'''Leopard/Snow Leopard'''
= Leopard/Snow Leopard/Lion =
 
* Set the hostname by opening up Terminal and typing:
** scutil --set HostName hostname.domain.tld
* Replacing hostname.domain.tld with the actual fully qualified domain name.
* Ensure that resistor dongle is installed.
* Ensure that resistor dongle is installed.
* Go to System Preferences -> Bluetooth -> Advanced and clear the checkbox for "Open Bluetooth Setup Assistant at startup when no input device is present"
'''Fedora/CentOS'''


* Open a terminal window and "su -" to become root.
= Fedora/CentOS =
* Then edit the file /etc/sysconfig/network , changing the hostname to the hosts fully qualified domain name.
* If a machine has been recloned/replaced then you also do this as root@{staging,production}-puppet
puppetca --clean moz2-linux-slaveNN.build.mozilla.org


Note: If you run into a "GRUB GRUB" error while booting, open the the IPMI console on a machine, boot an Ubuntu ISO(Virtual Storage), boot a 'rescue environment', then run "grub", with the commands "root (hd0,0)", and "setup (hd0)".  After that, issue the command "dd if=/dev/sda of=mbr bs=512 count=63".  Copy(and overwrite) the 'mbr' file onto the DeployStudio server into /Volumes/Deploy/Masters/PC/ImageName/mbr.  That should fix the booting issue for all other imaged servers.
= Windows XP and Windows 2003 and Windows 7 =


'''Windows XP'''
= Windows 7 =
Open System Properties and go to Computer Name tab, click on Change and enter the host's hostname there. Then click on 'more settings' to add the hosts domain name to the DNS suffix field.
* Make sure Windows is activated (see the mana page for instructions)

Latest revision as of 16:01, 10 January 2012

After cloning a system from the ReferencePlatforms, the following steps need to be done on the new system. In general, IT will take care of the steps here. The releng crew (usually slave duty) will then finish things up with ReleaseEngineering/How To/Set Up a Freshly Imaged Slave

Leopard/Snow Leopard/Lion

  • Ensure that resistor dongle is installed.

Fedora/CentOS

Windows XP and Windows 2003 and Windows 7

Windows 7

  • Make sure Windows is activated (see the mana page for instructions)