Failed to create win2012r2 standard image for Ubuntu MAAS [closed]
Hi, I want to use Ubuntu MAAS to deploy windows server 2012 on some of my bare metal nodes. Therefore I followed: http://wiki.cloudbase.it/maas to build the windows server 2012 standard image. But I got error when executing this step: ".\BuildInstallImage.ps1 -InstallMediaPath D:". Error messages are listed below:
PS C:\Users\Administrator\adk-tools-maas> .\BuildInstallImage.ps1 -InstallMediaPath D:
new-object : Exception calling ".ctor" with "1" argument(s): "Unable to find the specified file." At C:\Users\Administrator\adk-tools-maas\WimFileInfo.ps1:1085 char:14 + $w = new-object WIMInterop.WimFile -ArgumentList $WimFilePath + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidOperation: (:) [New-Object], MethodInvocationException + FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand
PS C:\Users\Administrator\adk-tools-maas>
Did I miss anything?
Thank you, Jeff
Hi Jeff. Sorry for the late reply. Can you make sure that: D:\sources\install.wim exists? (D: in this case should be your windows ISO mounted). That error seams to be related to the fact that it cannot locate a required file on your installation media.
Hi Gabriel, Sorry for the late reply and thank you for pointed me out the root cause of the problem I got. Thank you, Jeff