Closed bds-hanhvu closed 3 years ago
i can manually format VHDX to RAW by this command
Hello,
The False output is being generated by other commands, and should not be taken into account, the generation went fine.
Thank you! Im going to generate new image and try it on MAAS :D
@hahnvu Sorry to ask this question under this section, but how are you uploading windows image to MAAS ?
As when I am uploading the .tgz image which I created this tool and uploading the custom windows 2016 using following command maas maas boot-resources create name=windows/win2016 architecture=amd64/generic filetype=ddtgz content@=/home/maas/build-output/win2016-image.raw.tgz
I am getting following error, screenshot attached.
Hi @pankajmalhotra,
I use this command to upload image file to MAAS:
maas admin boot-resources create name=windows/win2012r2 architecture=adm64/generic filetype=tgz title="Windows Server 2012" content@=/home/hanhvd/win-img-bios.raw.tgz
After uploaded, there will be a file named "root-tgz" in this directory:
/var/snap/maas/common/maas/boot-resources/current/windows/amd64/generic/win2012r2/uploaded/
I tried to deploy that image and have the same problem as you. After i checked the error log, i noticed that the client requests the image name "root-dd" instead of "root-tgz". So i rename the image file, from "root-tgz" to "root-dd", and it works 🤣
I think you should try it. I install MAAS using snap, if you install by deb, the directory path maybe different.
thanks alot @hahnvu
Hello,
I am using windows-openstack-imaging-tools to generate image of Windows Server 2012 R2 for MAAS.
I have tried several times, but it always show "False" at "Convert virtual disk image" step.
I check the qemu-img.exe, and it does exist in .\bin\
Please tell me did i do anything wrong?
In the config file, i change some things like below: