⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
lxd-installer
/
View File Name :
lxd-installer-service
#!/bin/sh set -eux lxd_channel() { track="" # pull from the latest LXD LTS: $LTS/stable/ubuntu-$VERSION # with major version assigned and opened prior to Ubuntu release # shellcheck disable=SC1091 [ -r /etc/os-release ] && . /etc/os-release case "${VERSION_ID:-""}" in "24.10") track="5.21";; "24.04") track="5.21";; "22.04") track="5.0";; "20.04") track="4.0";; *) ;; esac if [ -n "${track}" ] && [ -n "${VERSION_ID:-""}" ]; then echo "${track}/stable/ubuntu-${VERSION_ID}" else echo "" fi } # Wait for snapd to be seeded snap wait system seed.loaded || true CHANNEL="$(lxd_channel)" if [ -z "${CHANNEL}" ]; then echo "Unable to determine the LXD LTS channel, aborting" >&2 exit 1 else snap install lxd --channel="${CHANNEL}" 1>&2 fi echo 1