Replies: 2 comments 2 replies
-
Hi @Tanchwa! 👋🏼 The The situation is different for But regardless of the technicalities, you'd need to come up with some metadata model that would define a pipeline to convert a source file to one of the PVE-supported formats. Particularly for your use case of "an xz file, but not a tarball" how to convert the "not a tarball" format to a tarball before compressing it with xz or gz. |
Beta Was this translation helpful? Give feedback.
-
right now, I use the download file resource to download the file and stick in a filename unxz can use, then I use the remote exec provissioner to decompress the file. I finally stand up the virtual machine by passing in the path to the ISO, but I think I've found a different bug. It seems the VM provissioner resource tries to name the resulting LVM created based on the entire path provided, and not just the image name. I will open an issue when I have a second.
|
Beta Was this translation helpful? Give feedback.
-
Hello all,
I'd like to work on a PR to support other decompression algos because one of the images I need to pull is an xz file, but not a tarball. So it's not quite behaving properly with the ones available.
I found where it does the validation in the code, but I can't seem to find where the actual decompression is being done. Is that done on proxmox side automatically for some file types? If so, if I WERE to add a helper for other decompression algos, where should that go?
Thanks,
Tanchwa
Beta Was this translation helpful? Give feedback.
All reactions