Can MAAS just use /etc/lsb-release instead? That correctly identifies the host system with the hello-world snap:
$ snap run --shell hello-world To run a command as administrator (user "root"), use "sudo <command>". See "man sudo_root" for details.
$ cat /etc/os-release NAME="Ubuntu Core" VERSION="16" ID=ubuntu-core PRETTY_NAME="Ubuntu Core 16" VERSION_ID="16" HOME_URL="http://www.snapcraft.io/" BUG_REPORT_URL="http://bugs.launchpad.net/snappy/" $ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
Can MAAS just use /etc/lsb-release instead? That correctly identifies the host system with the hello-world snap:
$ snap run --shell hello-world
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
$ cat /etc/os-release www.snapcraft. io/" bugs.launchpad. net/snappy/" RELEASE= 20.04 CODENAME= focal DESCRIPTION= "Ubuntu 20.04 LTS"
NAME="Ubuntu Core"
VERSION="16"
ID=ubuntu-core
PRETTY_NAME="Ubuntu Core 16"
VERSION_ID="16"
HOME_URL="http://
BUG_REPORT_URL="http://
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_