Allow import of medkits
Right now the only way to import medkit is to import it as a factory. This is in most cases the correct way user wants to import medkit but sometimes it makes sense to want to import it just like the regular snapshot without having an info file. I mostly use it when someone sends me the image to test some issue. I do not want to replace the factory image and I do want to remove it afterwards.
My suggestion is to allow import of generic medkit with switch -m
:
schnapps import -m omnia-medkit-100.tar.gz
It would automatically fill in info for example as if following info file would be provided:
TYPE="single"
DESCRIPTION="Medkit: ${file%.tar.gz}"
CREATED="$(date)"