lima-vm / lima

Linux virtual machines, with a focus on running containers
https://lima-vm.io/
Apache License 2.0
15.24k stars 600 forks source link

`template://experimental/opensuse-tumbleweed` is unsshable due to `OSError: Unknown user or group: "getpwnam(): name not found: 'systemd-network'"` #1496

Closed AkihiroSuda closed 4 months ago

AkihiroSuda commented 1 year ago

template://experimental/opensuse-tumbleweed (x86_64) is unsshable due to OSError: Unknown user or group: "getpwnam(): name not found: 'systemd-network'" in the video console (not in the serial console).

image

Probably a regression on the Tumbleweed side?

jandubois commented 1 year ago

I've reported the issue to Minimal-VM developers (on SUSE-internal Slack).

emopinata commented 1 year ago

I just ran into this trying to create a template on XCP-NG with the past two days of snapshots. I found this bugzilla issues for the microOS build, though the thread points at an old cloud-init version as the issue, even though what's in the latest snapshots is newer than what is claimed to fix it. You SHOULD be able to set the renderer to NetworkManager over the default networkd, but so far I've had no luck getting that to work.

Verschworer commented 1 year ago

Greetings! in my case I'm using thumbleweed cloudinit qcow2 as a template for my proxmox VMs. After investigating, I found out that there is nothing at all either for the network. A quick solution would be to use virt-customize -a <your_qcow2> --run-command 'zypper in -y wicked'

Verschworer commented 1 year ago

attempt to virt-customize -a <your_qcow2> --run-command 'zypper in -y NetworkManager' don't fix error

AkihiroSuda commented 1 year ago

I've reported the issue to Minimal-VM developers (on SUSE-internal Slack).

Is there a public issue ticket for this?

jandubois commented 1 year ago

Is there a public issue ticket for this?

I suspect not. I've just asked for an update; I'm afraid this may have gotten lost because it was only discussed on Slack.

afbjorklund commented 4 months ago

Seems to have been fixed since