fast-vm icon indicating copy to clipboard operation
fast-vm copied to clipboard

Image name cannot end with -XX (number)

Open micharbet opened this issue 6 years ago • 2 comments

I tried to import fedora image:

#  fast-vm import_image fedora-28 http://ftp.linux.cz/pub/linux/people/ondrej_famera/fastvm-images/generated/6g__fedora-28.img.xz https://raw.githubusercontent.com/OndrejHome/fast-vm-public-images/develop/fedora/xml/fedora-28.xml https://raw.githubusercontent.com/OndrejHome/fast-vm-public-images/develop/fedora/hacks/6g_fedora-28-hacks.sh
[__][err] ImageName cannot end with '-XX' where XX is number.

I could do it when I change image name from fedora-28 to e.g. fedora-2.8 But this is just wrong. Please kindly remove this limitation.

-michael-

micharbet avatar Jun 26 '18 09:06 micharbet

Hi Michael,

This works as designed as there are currently some patters that are internally used by fast-vm for its functionality. I can try to check if there is way to have "visible name" ending with -XX and let you know.

OndrejHome avatar Jun 27 '18 16:06 OndrejHome

I will be having look at this for next version as I think there is a way how to tell apart the image LVs and VM LVs without need to have special name - I can distinguish the LVs based on 'origin' field in lvs which is empty for images and present for VMs.

OndrejHome avatar May 18 '20 00:05 OndrejHome