Filename: Private: No Yes Filetype: Auto ABAP Sophia Apex Azure CLI Batch Bicep C Cameligo Clojure CoffeeScript C++ C# CSP CSS Cypher Dart Dockerfile ECL Elixir Flow9 FreeMarker2 FreeMarker2 (Angle/Bracket) FreeMarker2 (Angle/Dollar) FreeMarker2 (Auto/Bracket) FreeMarker2 (Auto/Dollar) FreeMarker2 (Bracket/Bracket) FreeMarker2 (Bracket/Dollar) F# Go GraphQL Handlebars Terraform HTML Ini Java JavaScript Julia Kotlin Less Lexon Liquid Lua Modula-3 Markdown MDX MIPS DAX MySQL Objective-C Pascal Pascaligo Perl PostgreSQL PHP Plain text ATS PQ PowerShell Protobuf Pug Python Q# R Razor Redis Redshift ReStructuredText Ruby Rust Small Basic Scala Scheme Sass Shell Solidity SPARQL SQL StructuredText Swift SV Tcl Twig TypeScript TypeSpec Visual Basic V WebGPU Shading Language XML YAML Indentation: Spaces Tabs 1 2 3 4 5 6 7 8 Clone hackman@possum:~/whc/pc-setup$ ssh node1 You have new mail. root@node1:~# lxc ls If this is your first time running LXD on this machine, you should also run: lxd init To start your first container, try: lxc launch ubuntu:24.04 Or for a virtual machine: lxc launch ubuntu:24.04 --vm +------+-------+------+------+------+-----------+ | NAME | STATE | IPV4 | IPV6 | TYPE | SNAPSHOTS | +------+-------+------+------+------+-----------+ root@node1:~# apt-get remove lxd Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'lxd' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 30 not upgraded. root@node1:~# which lxc /usr/sbin/lxc root@node1:~# ll /usr/sbin/lxc -rwxr-xr-x 1 root root 589 May 7 19:33 /usr/sbin/lxc* root@node1:~# ps axf|grep snap 1108 ? Ssl 0:06 /usr/lib/snapd/snapd 109366 pts/1 S+ 0:00 | \_ grep --color=auto snap 109046 ? Ss 0:00 /bin/sh /snap/lxd/30131/commands/daemon.start 109215 ? Sl 0:01 \_ lxd --logfile /var/snap/lxd/common/lxd/logs/lxd.log --group lxd 109204 ? Sl 0:00 lxcfs /var/snap/lxd/common/var/lib/lxcfs -p /var/snap/lxd/common/lxcfs.pid root@node1:~# snap list Name Version Rev Tracking Publisher Notes core22 20240904 1621 latest/stable canonical✓ base lxd 5.21.2-2f4ba6b 30131 5.21/stable/… canonical✓ - snapd 2.63 21759 latest/stable canonical✓ snapd root@node1:~# snap remove lxd 2024-10-16T07:15:42-04:00 INFO Waiting for "snap.lxd.daemon.service" to stop. lxd removed root@node1:~# logout Connection to node1 closed. hackman@possum:~/whc/pc-setup$ ssh node1 You have new mail. root@node1:~# lxc Installing LXD snap, please be patient. Description: Command line client for LXD All of LXD's features can be driven through the various commands below. For help with any of those, simply call them with --help. Usage: lxc [command] Available Commands: alias Manage command aliases auth Manage user authorization cluster Manage cluster members config Manage instance and server configuration options console Attach to instance consoles copy Copy instances within or in between LXD servers delete Delete instances and snapshots exec Execute commands in instances export Export instance backups file Manage files in instances help Help about any command image Manage images import Import instance backups info Show instance or server information init Create instances from images launch Create and start instances from images list List instances monitor Monitor a local or remote LXD server move Move instances within or in between LXD servers network Manage and attach instances to networks operation List, show and delete background operations pause Pause instances profile Manage profiles project Manage projects publish Publish instances as images query Send a raw query to LXD rebuild Rebuild instances remote Manage the list of remote servers rename Rename instances and snapshots restart Restart instances restore Restore instances from snapshots snapshot Create instance snapshots start Start instances stop Stop instances storage Manage storage pools and volumes version Show local and remote versions warning Manage warnings Flags: --all Show less common commands --debug Show all debug messages --force-local Force using the local unix socket -h, --help Print help --project Override the source project -q, --quiet Don't show progress information --sub-commands Use with help or --help to view sub-commands -v, --verbose Show all information messages --version Print version number Use "lxc [command] --help" for more information about a command. root@node1:~# Paste