Closed dorianim closed 3 years ago
Ok, how is this done in the old gui?
It isn't. The old GUI just lists one image per OS with the name of the os base image. It doesn't care if the images actually exist.
Ah, Ok. Command could be linbo_cmd listimages <cachedev>
. Output like ls -1 *.cloop
or ls -l *.cloop
? Or both controlled by parameter long
?
ls -1 *.cloop
is enough. I think the other information that -l
provides is irrelevant.
I implemented this in the GUI using the -1 flag and linbo_cmd listimages <cachedev>
For the "upload image" dialog in the linboGUI I need a function that does the following:
ls /cache/*.cloop
)I could do this manually, but I am trying to stick to using linbo_cmd as the only interface. Would be nice to get this added :slightly_smiling_face: