-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows VMs unable to mount config drive #229
Comments
Is windows able to mount If we were to consider changes to the |
OK then, I'll take this up with the XO team, thank you for the speedy response. |
I agree that discussing this with the Xen Orchestra team would be best as it may result in changes to XO. Please link the forum or other discussion if you don't mind. I'm interested in following along, but unfortunately can't help much with my lack of Windows experience. |
Sure no problem, thanks for your time: https://xcp-ng.org/forum/topic/7082/xen-orchestra-terraform-provider-and-windows |
I have been using Terraform with the Xenorchestra and Cloudinit providers to create config drives with the nocloud settings I need. Works like a champ.
The 10MB config drives are vfat partitions that Linux is able to mount and can clearly see all the settings I sent to the VM via Terraform. Very nice, it works.
However, I also need to build Windows VMs. I'm using "cloudbase-init" (a cloud-init compatible application for Windows computers) and no matter what I do - well, it doesn't seem to matter. Cloudbase-init doesn't even get the chance to mount the config drive.
It simply cannot be mounted. Windows sees the drive, but it has no partition, appearing as a raw disk. The drive is visible in Disk Manager, diskpart, etc. but cannot be mounted for any reason.
For fun, I disconnected the nocloud config drive from the Windows VM, attached it to an existing Linux VM and voila - it was easy to mount, and there were all the files I needed. The drive had the correct "cidata" label and vfat filesystem.
I wonder if I'm missing something - I've been "googling" for weeks now, trying to find someone else doing what I'm doing on Xen Orchestra and I'm unable to figure out by prior examples and other people's work, whether there is something wrong.
I have tried running both the Linux and Windows versions of Terraform, to no avail.
Is it possible for this provider to create an ISO file instead? I would try that instead if it was an option.
The text was updated successfully, but these errors were encountered: