OpenLDAP/BackSQL

From Chorke Wiki
Jump to navigation Jump to search

Playground

lxc image info images:debian/bookworm --vm|yq .Aliases
lxc image info images:debian/bookworm     |yq .Aliases
lxc image list images: os=Debian release=bookworm type=virtual-machine
lxc image list images: os=Debian release=bookworm type=container

lxc image list images:debian/bookworm
lxc launch images:4be664313117 openldap
lxc launch images:debian/bookworm openldap
lxc list status=running name=openldap --format=json |jq  -r '.[].state.network.[].addresses'
lxc list status=running name=openldap --format=yaml |yq  -r '.[].state.network.[].addresses'
lxc info openldap|yq '.Resources.["Network usage"][]["IP addresses"].inet'

systemctl list-dependencies graphical.target
dpkg -l | grep 'gnome-shell-extension'
apt list --installed|grep linux-image
lxc snapshot openldap base:24.04
lxc publish  openldap/base:24.04 --alias openldap/base:24.04
lxc restore  openldap base:24.04

cat <<-'EXE'|sudo bash
umount /var/snap/firefox/common/host-hunspell
snap remove firefox
EXE
cat <<-'EXE'|sudo bash
snap disable lxd
snap remove --purge lxd
EXE
systemctl list-dependencies --type=service --state=running
systemctl list-dependencies --type=service --state=active
systemctl list-dependencies docker.service
systemctl list-dependencies --all

References