multipass icon indicating copy to clipboard operation
multipass copied to clipboard

Supports setting the default image?

Open srwangit opened this issue 3 years ago • 3 comments

What are you trying to do? just now i update to 1.10.0+mac, the default instance created is still Ubuntu 20.04, but the latest LTS image is 22.04, I can specify it manually but it's cumbersome

What's your proposed solution? whether it is possible to set the default image version in multipassd conf

Additional context

➜ ~ multipass version multipass 1.10.0+mac multipassd 1.10.0+mac ➜ ~ multipass find Image Aliases Version Description snapcraft:core18 18.04 20201111 Snapcraft builder for Core 18 snapcraft:core20 20.04 20210921 Snapcraft builder for Core 20 snapcraft:core22 22.04 20220426 Snapcraft builder for Core 22 18.04 bionic 20220712 Ubuntu 18.04 LTS 20.04 focal,lts 20220711 Ubuntu 20.04 LTS 21.10 impish 20220708 Ubuntu 21.10 22.04 jammy 20220712 Ubuntu 22.04 LTS anbox-cloud-appliance latest Anbox Cloud Appliance charm-dev latest A development and testing environment for charmers docker latest A Docker environment with Portainer and related tools minikube latest minikube is local Kubernetes ➜ ~ multipass launch -c 1 -m 1G -d 20G -n test Launched: test ➜ ~ multipass info --all Name: test State: Running IPv4: 192.168.64.2 Release: Ubuntu 20.04.4 LTS Image hash: 7bd0d8d14260 (Ubuntu 20.04 LTS) Load: 0.77 0.19 0.06 Disk usage: 1.4G out of 19.2G Memory usage: 141.2M out of 976.9M Mounts: --

srwangit avatar Jul 13 '22 12:07 srwangit

Hi @srikker, thanks for the report. 22.04 will become the default LTS once 22.04.1 is released. On the other hand, we'll keep your proposition as an improvement for future releases.

luis4a0 avatar Jul 13 '22 12:07 luis4a0

@luis4a0 22.04.1 is released. Any update?

huyz avatar Aug 14 '22 08:08 huyz

Hey @huyz!

Yes, 22.04.1 is now released, but we (Multipass) are not in control of when the cloud images change the default LTS. We rely on the Public Cloud team in Canonical to update the Simplestreams to reflect this fact. We use https://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.json for determining this. So when they switch it, we'll automatically get the switch.

townsend2010 avatar Aug 14 '22 14:08 townsend2010