Closed IntegralD-503 closed 5 months ago
I guess you are using zfs? That solved it for me: Had that error a while ago when i set up the lab on proxmox as well, can you try to change the "vm_disk_format" variable in /packer/proxmox/windows_server...*.hcl files from "qcow2" to "raw"?
Looks like it is working now, thanks! Yeah, I believe I picked zfs on the install (I think it was just the first option so I thought it was default). Is there a preferable option?
Not really sure what the pros and cons for zfs are. I just used what my company provided me. But either way, maybe mayfly can fix it by detecting the file system type somehow.
actually, i was wrong. I was using lvm. Changing from qcow to raw helped, but then I ran into a bunch of build issues for windows server 2019 /2016. I ended up making an ext4 directory, and then updated the .hcl file like so
iso_file = "ext4:iso/windows_server_2016_14393.0_eval_x64.iso"
now it works for me
ok thanks, so i close the issue as it was due to proxmox configuration
actually, i was wrong. I was using lvm. Changing from qcow to raw helped, but then I ran into a bunch of build issues for windows server 2019 /2016. I ended up making an ext4 directory, and then updated the .hcl file like so
iso_file = "ext4:iso/windows_server_2016_14393.0_eval_x64.iso"
now it works for me
were the build issues when you got to using ansible? i think i've encountered the same problem
I have gone through this a couple of times with a fresh install, and I am pretty sure I am sticking to the directions. I am getting an unsupported format 'qcow2' error. I even pulled the binary so the packer version would match the on in the tutorial but still same issue. Tried with proxmox 7 and 8 as well.
Anything look off?