Checklist for Ubuntu imagesΒΆ
Requirement |
Test commands |
Checks |
---|---|---|
Login via SSH |
systemctl enable ssh.service
systemctl status ssh.service
|
|
The Ubuntu firewall is working. |
sudo ufw enable
sudo ufw allow ssh
sudo ufw status numbered
|
|
Packages can be installed. |
sudo apt-get update
sudo sudo apt-get install hello
/usr/bin/hello
|
|
The image can be upgraded. |
sudo apt-get update
sudo apt-get dist-upgrade
|
|
Snaps can be installed. |
sudo snap install hello
/snap/bin/hello
|
|
LXD can be used. |
sudo snap install lxd
sudo adduser $USER lxd
logout
# login
lxd init --minimal
lxc image list ubuntu:
lxc launch ubuntu:24.04 mycontainer
lxc shell mycontainer
logout # (in container)
lxc list
lxc stop mycontainer
lxc delete mycontainer
lxc list mycontainer
|
|