OpenLDAP/BackSQL: Difference between revisions
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc image info | lxc image info ubuntu:noble --vm|yq .Aliases | ||
lxc image info | lxc image info ubuntu:24.04 --vm|yq .Aliases | ||
lxc image info ubuntu:noble |yq .Aliases | |||
lxc image info ubuntu:24.04 |yq .Aliases | |||
</syntaxhighlight> | </syntaxhighlight> | ||
| colspan="2" | | | colspan="2" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc image list | lxc image list ubuntu: os=ubuntu release=noble type=virtual-machine | ||
lxc image list | lxc image list ubuntu: os=ubuntu release=noble type=virtual-machine | ||
lxc image list ubuntu: os=ubuntu release=noble type=container | |||
lxc image list ubuntu: os=ubuntu release=noble type=container | |||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 19: | Line 25: | ||
| valign="top" | | | valign="top" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc image list | lxc image list ubuntu:24.04 | ||
lxc launch | lxc launch ubuntu:24.04 openldap | ||
lxc launch | lxc launch ubuntu:40d8df642812 openldap | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 44: | Line 50: | ||
| colspan="2" | | | colspan="2" | | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
lxc snapshot openldap base: | lxc snapshot openldap base:2.6.7 | ||
lxc publish openldap/base: | lxc publish openldap/base:2.6.7 --alias openldap/base:2.6.7 | ||
lxc restore openldap base: | lxc restore openldap base:2.6.7 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 07:14, 8 January 2025
Playground
lxc image info ubuntu:noble --vm|yq .Aliases
lxc image info ubuntu:24.04 --vm|yq .Aliases
lxc image info ubuntu:noble |yq .Aliases
lxc image info ubuntu:24.04 |yq .Aliases
|
lxc image list ubuntu: os=ubuntu release=noble type=virtual-machine
lxc image list ubuntu: os=ubuntu release=noble type=virtual-machine
lxc image list ubuntu: os=ubuntu release=noble type=container
lxc image list ubuntu: os=ubuntu release=noble type=container
| |
| ||
lxc image list ubuntu:24.04
lxc launch ubuntu:24.04 openldap
lxc launch ubuntu:40d8df642812 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:2.6.7
lxc publish openldap/base:2.6.7 --alias openldap/base:2.6.7
lxc restore openldap base:2.6.7
| |
| ||
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
| ||
| ||