https://rancher.com/ logo
#lima
Title
# lima
c

clean-fireman-4784

06/07/2022, 11:35 AM
Is it possible for a created lima vm to "migrate" the data to a new created lima vm? The reason I'm asking is, I want to change the
ubuntu cloud image
that is been used. Only changing the
lima.yaml
doesn't seem have effect.
f

fast-garage-66093

06/07/2022, 4:14 PM
You cannot do this, except with the Alpine config. Everything is written to the same
diffdisk
, which records just the changes relative to the
basedisk
, which is the cloud image. So switching the base image would require creating a new
diffdisk
, so all your changes would be lost.
c

clean-fireman-4784

06/07/2022, 4:16 PM
Ok, good to known 👍
f

fast-garage-66093

06/07/2022, 4:16 PM
It is different for Alpine because it uses an ISO image to boot and run out of RAM. Some directories, like
/home
and
/usr/local
are mounted to an extra disk, which you could re-use if you just replace the boot ISO. It still a bit more complex than I describe here, but I assume you don't care about the Alpine case anyways
c

clean-fireman-4784

06/07/2022, 4:17 PM
Not atm. Currently using he docker template :)
5 Views