New Question

Revision history [back]

Lets get some more info on the situation first.

Please add the output of the following commands:

On the windows machine you ran the script on:

net use

If the MaaS samba share is not there, lets try to add it and copy over some files again:

# The samba share on the MaaS server should be named reminst
New-SmbMapping -RemotePath \\<MAAS IP>\reminst -LocalPath X:

you should now be able to see a new drive letter called X. Lets try to write something there:

echo testing > X:\test.txt

NOTE: it is not necessary to add a SMB mapping for this to work. UNC path names should be enough. We do this for debug purposes only.

On your MaaS VM:

Lets see if the file is on the MaaS node:

ls /var/lib/maas/samba

You should see a test.txt. If the file is there, you should be able to copy over the WinPE files using:

CopyImageToMaaS.ps1 -TargetPath X:\

Please take note, that MaaS expects one of the following folder names to be present in /var/lib/maas/samba:

win2012
win2012r2
win2012hv
win2012hvr2

Also, if you have not already done so, please read the guide at: http://wiki.cloudbase.it/maas