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

[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


 


Rackspace

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