`user create-container` says distro doesn't exist

When running user create-container fedora fedora-39, it prints the following:
[ERROR] distro fedora-39 not supported
>> i: creating container fedora, using fedora-39
[ERROR] distro fedora-39 not supported
>> i: creating container fedora, using fedora-39
It works, but that error obviously should not be printed.
4 Replies
autumn (password generator)
it seems it's an issue with create_container(), as the hardcoded list hasn't been updated
if distro not in ('arch', 'almalinux-9', 'crystal-linux', 'debian', 'fedora-38', 'kali-linux', 'neurodebian-bookworm', 'rocky-linux', 'ubuntu-22.04', 'ubuntu-23.04'):
if distro not in ('arch', 'almalinux-9', 'crystal-linux', 'debian', 'fedora-38', 'kali-linux', 'neurodebian-bookworm', 'rocky-linux', 'ubuntu-22.04', 'ubuntu-23.04'):
(line 164 on commit 90bf64f) and it should probably also exit after this line or it could just be removed entirely, at blend handles this as well, then there's not two lists to update
$ user create-container tmp fedora-37
[ERROR] distro fedora-37 not supported
>> i: creating container tmp, using fedora-37
>> e: fedora-37 isn't supported by blend.
$ user create-container tmp fedora-37
[ERROR] distro fedora-37 not supported
>> i: creating container tmp, using fedora-37
>> e: fedora-37 isn't supported by blend.
πŸŽ„ Asterisk
πŸŽ„ Asteriskβ€’2mo ago
PR
autumn (password generator)
apparently the default distro for user is also wrong - i'll send over a PR fixing both tmr
Want results from more Discord servers?
Add your server