It took me some hours to realize that SUSE Linux Enterprise Server 11 SP2 is the only supported SLES under Hyper-V 3.0 (from a WS2012 support list page). And another 2 hours to find only VHD hard disk is recognized by SLES 11 SP2: VHDX will not roll.
I have managed to deploy RHEL 6.2 VM via kickstart script from the IIS web server in the host OS, with this kind of parameter:
linux ks=http://x.x.x.x/kickstart/rh65.cfg
The only thing need to mention is, RHEL can only recognize "legacy" NIC emulated by Hyper-V during setup.
I created some autoyast script for unattended setup of SLES 11 SP2. But the guest OS alwasy complain about cannot found the URL, when I pass the paramater to installer:
autoyast=http://x.x.x.x/autoyast/autoinst.xml
Neither default NIC, nor legacy NIC will sovle this. Is it possible to do an unattended setup of SLES 11 SP2 via http?
I know there may be other options to do this:
- create customized SLES DVD, put the autoinst.xml inside the DVD, and pass on file://autoinst.xml as parameter
- create a virtual floppy disk, put the autoinst.xml in, and pass on floppy://autoinst.xml as parameter
- Send key inputs via PowerShell script, using the type methods (TypeText, TypeKey...) of msvm_keyboard(http://msdn.microsoft.com/en-us/library/hh850165%28v=vs.85%29.aspx)
Are these 4 options feasible?