OpenLDAP/BackSQL: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 3: Line 3:
| valign="top" |
| valign="top" |
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
lxc image list images:ubuntu/noble/desktop
lxc image info images:debian/bookworm --vm|yq .Aliases
lxc launch --vm images:ffa5fc9dfb84 openldap
lxc image info images:debian/bookworm    |yq .Aliases
lxc launch --vm images:ubuntu/noble/desktop openldap
</syntaxhighlight>
 
| colspan="2" |
<syntaxhighlight lang="bash">
lxc image list images: os=Debian release=bookworm type=virtual-machine
lxc image list images: os=Debian release=bookworm type=container
</syntaxhighlight>
 
|-
| colspan="3" |
----
|-
| valign="top" |
<syntaxhighlight lang="bash">
lxc image list images:debian/bookworm
lxc launch images:4be664313117 openldap
lxc launch images:debian/bookworm openldap
</syntaxhighlight>
</syntaxhighlight>



Revision as of 06:40, 8 January 2025

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