feat: focus exclusively on core distros
This commit is contained in:
parent
d467fe4fea
commit
30bce4aace
3 changed files with 10 additions and 43 deletions
19
blend
19
blend
|
@ -87,19 +87,14 @@ def error(err):
|
|||
|
||||
|
||||
distro_map = {
|
||||
'arch': 'docker.io/library/archlinux',
|
||||
'almalinux-9': 'quay.io/almalinux/almalinux:9',
|
||||
'crystal-linux': 'registry.getcryst.al/crystal/misc/docker:latest',
|
||||
'debian': 'docker.io/library/debian:latest',
|
||||
'fedora-38': 'docker.io/library/fedora:38',
|
||||
'kali-linux': 'docker.io/kalilinux/kali-rolling',
|
||||
'neurodebian-bookworm': 'docker.io/library/neurodebian:nd120',
|
||||
'rocky-linux': 'docker.io/rockylinux/rockylinux:9',
|
||||
'ubuntu-22.04': 'docker.io/library/ubuntu:22.04',
|
||||
'ubuntu-23.04': 'docker.io/library/ubuntu:23.04'
|
||||
'arch-linux': 'docker.io/library/archlinux',
|
||||
'debian': 'quay.io/toolbx-images/debian-toolbox:testing',
|
||||
'fedora-39': 'registry.fedoraproject.org/fedora-toolbox:39',
|
||||
'centos': 'quay.io/toolbx-images/centos-toolbox:latest',
|
||||
'ubuntu-22.04': 'quay.io/toolbx/ubuntu-toolbox:22.04',
|
||||
}
|
||||
|
||||
default_distro = 'arch'
|
||||
default_distro = 'arch-linux'
|
||||
|
||||
|
||||
def get_distro():
|
||||
|
@ -152,7 +147,7 @@ def core_start_container(name, new_container=False):
|
|||
'podman', args=['logs', '-f', '--since', str(start_time), name], timeout=300)
|
||||
logproc.logfile_read = sys.stdout.buffer
|
||||
|
||||
logproc.expect('Completed container setup.')
|
||||
logproc.expect('Started container.')
|
||||
logproc.terminate()
|
||||
|
||||
|
||||
|
|
|
@ -10,16 +10,10 @@
|
|||
</div>
|
||||
<div class="col-sm-4">
|
||||
<select class="form-control" id="inputContainerDistro">
|
||||
<option selected>Arch</option>
|
||||
<option>AlmaLinux 9</option>
|
||||
<option>Crystal Linux</option>
|
||||
<option selected>Arch Linux</option>
|
||||
<option>Debian</option>
|
||||
<option>Fedora 38</option>
|
||||
<option>Kali Linux</option>
|
||||
<option>Neurodebian Bookworm</option>
|
||||
<option>Rocky Linux</option>
|
||||
<option>Fedora 39</option>
|
||||
<option>Ubuntu 22.04</option>
|
||||
<option>Ubuntu 23.04</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
|
|
24
init-blend
24
init-blend
|
@ -62,29 +62,7 @@ while true; do
|
|||
esac
|
||||
done
|
||||
|
||||
cat << 'EOF'
|
||||
|
||||
|
||||
▄▄▄▄ ██▓ ▓█████ ███▄ █ ▓█████▄
|
||||
▓█████▄ ▓██▒ ▓█ ▀ ██ ▀█ █ ▒██▀ ██▌
|
||||
▒██▒ ▄██▒██░ ▒███ ▓██ ▀█ ██▒░██ █▌
|
||||
▒██░█▀ ▒██░ ▒▓█ ▄ ▓██▒ ▐▌██▒░▓█▄ ▌
|
||||
░▓█ ▀█▓░██████▒░▒████▒▒██░ ▓██░░▒████▓
|
||||
░▒▓███▀▒░ ▒░▓ ░░░ ▒░ ░░ ▒░ ▒ ▒ ▒▒▓ ▒
|
||||
▒░▒ ░ ░ ░ ▒ ░ ░ ░ ░░ ░░ ░ ▒░ ░ ▒ ▒
|
||||
░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░
|
||||
░ ░ ░ ░ ░ ░ ░
|
||||
░ ░
|
||||
|
||||
===================
|
||||
Credits
|
||||
===================
|
||||
|
||||
* NVIDIA driver support - Luca Di Maio (from Distrobox)
|
||||
EOF
|
||||
|
||||
echo
|
||||
echo 'Starting blend... (this may take a few minutes)'
|
||||
echo 'Starting container... (this may take a few minutes)'
|
||||
echo
|
||||
|
||||
bmount() {
|
||||
|
|
Loading…
Reference in a new issue