[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] XCP 1.6 unattended PXE install, answers file


  • To: Alexandre Kouznetsov <alk@xxxxxxxxxx>, "xen-api@xxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxx>
  • From: Joseph Hom <jhom@xxxxxxxxxxxxx>
  • Date: Fri, 21 Dec 2012 15:57:58 +0000
  • Accept-language: en-US
  • Delivery-date: Fri, 21 Dec 2012 15:58:14 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>
  • Thread-index: AQHN3xF9A66fqyys8UWOANKyZ4gIk5gjaTpA
  • Thread-topic: [Xen-API] XCP 1.6 unattended PXE install, answers file

2. Not sure if this is still the case for 1.6, but prior to XS 6.0.2, in the 
scripting section, we blew away /etc/firstboot.d/interfaces files and recreated 
them. From my understanding, this is what xapi uses on first boot after 
installation to populate its state.db. The interfaces there are all listed 
based on mac.

-----Original Message-----
From: xen-api-bounces@xxxxxxxxxxxxx [mailto:xen-api-bounces@xxxxxxxxxxxxx] On 
Behalf Of Alexandre Kouznetsov
Sent: Thursday, December 20, 2012 6:22 PM
To: xen-api@xxxxxxxxxxxxx
Subject: [Xen-API] XCP 1.6 unattended PXE install, answers file

Hello.

I'm setting up the environment for unattended install of XCP 1.6 via PXE. It is 
supposed to be used to deploy XCP 1.6 on a number of remote boxes. Generally, 
it works in a wonderful way, but i have some doubts about the answers file.

I'm using this reference:
http://docs.vmd.citrix.com/XenServer/6.0.0/1.0/en_gb/installation.html#pxe_boot_install
 


1. <root-password>mypassword</root-password>
XML answers file is plain, published on a (even private) web server. 
Putting a plain root password there seems not to be that good idea. Is it 
possible to specify the password's hash, instead of plain?

2. <admin-interface name="eth0" />
Sometimes the interfaces are detected in different order. Is it possible to 
specify the interface by something else, instead of it's name? MAC address, for 
example?
I could try to play around with <script stage="filesystem-populated">: 
find the desired interface, rename it to something very specific and use that 
name as admin-interface, but i wish to avoid that complexity, if possible.
I have found this question asked elswhere, but not answered.

3. <primary-disk>sda</primary-disk>
Same applies to primary-disk, the order of detection may vary. Is there any 
other way to refer the target disk, beside it's name? Like names from 
/dev/disk/by-id.
Also, it could be nice to use specific IDs in order to prevent a accidental 
disk wipe, since the install is fully automated.

Thank you.

--
Alexandre Kouznetsov

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.