Ventoy icon indicating copy to clipboard operation
Ventoy copied to clipboard

[feature]: Wildcard asterisk support in VTOY_DEFAULT_IMAGE

Open drws opened this issue 3 years ago • 0 comments

Official FAQ

  • [X] I have checked the official FAQ.

Ventoy Version

1.0.80

What about latest release

Yes. I have tried the latest release, but the bug still exist.

Try alternative boot mode

Yes. I have tried them, but the bug still exist.

BIOS Mode

Both

Partition Style

MBR

Disk Capacity

32GB

Disk Manufacturer

No response

Image file checksum (if applicable)

No response

Image file download link (if applicable)

No response

What happened?

VTOY_DEFAULT_IMAGE supports a few special values such as VTOY_EXIT. It would be great if it also supported the wildcard asterisk to select images with common prefix and/or suffix. For example:

"VTOY_DEFAULT_IMAGE": "ubuntu-22.04*.iso"

When multiple images matched, of course, only the first one would be actually used. Or alternatively the last one for the most recent image.

drws avatar Oct 14 '22 08:10 drws