Hi friends,
I am trying to create an unattended installation customized ISO for Hyper-V server 2016 free edition.
I've created an autounattend.xml and placed it in the root of the installation ISO (using UltraISO).
After booting from the ISO, installation starts and the autounattend.xml is read.
I'm trying to set the IP settings through the unattend.xml file.
From some reason only the IP address and subnet mask is set. The default gateway isn't set!
Here is the section in my unattend.xml file:
<component name="Microsoft-Windows-TCPIP" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">;
<Interfaces>
<!-- Add static IP address (192.168.0.1/24, ffff:1::3/48) & route (12.34.0.0/16) to interface with identifier "Ethernet 1" -->
<Interface wcm:action="add">
<Ipv4Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>20</Metric>
<RouterDiscoveryEnabled>true</RouterDiscoveryEnabled>
</Ipv4Settings>
<Ipv6Settings>
<DhcpEnabled>false</DhcpEnabled>
<Metric>30</Metric>
<RouterDiscoveryEnabled>false</RouterDiscoveryEnabled>
</Ipv6Settings>
<Identifier>Ethernet</Identifier>
<UnicastIpAddresses>
<IpAddress wcm:action="add" wcm:keyValue="1">10.165.12.140/24</IpAddress>
</UnicastIpAddresses>
<Routes>
<Route wcm:action="add">
<Identifier>1</Identifier>
<Metric>1</Metric>
<NextHopAddress>10.165.12.0</NextHopAddress>
<Prefix>24</Prefix>
</Route>
</Routes>
</Interface>
</Interfaces>
</component>
Any help will be appreciated!
Thanks,
Dudi.