opensuse leap container?

markusd

Renowned Member
Apr 20, 2015
106
2
83
Dortmund
Hi,
i have tested opensuse-leap 42.1 /42.2 as lxc-container with proxmox and it seems to work fine.
(except login in remote-viewer)

But i have to edit /usr/share/perl5/PVE/LXC/Setup/SUSE.pm to allow it to start.

So my question:
Will proxmox support this release and enable it in "SUSE.pm" ?

...and a opensuse-template installable from gui would be great!

Thank you!

Markus
 
Hi Markus,

we are looking for a opensuse-leap 42.2 container for Proxmox with a minimal install.

How did you create it ?

Thanks

Martin
 
Tried the latest 13.2 from the url above, but for some reason I´m not able to log in to the container after install, something with the password seems to be screwed up.

Would be nice i Proxmox provided templates for Opensuse Leap since it´s more of an LTS distribution now compared to the older 13.x, and also closely tracks Suse Enterprise Server.
 
Hi,
I too had the same issue with 13.2 and the username/password input. It occurs for both the novnc and spice viewers.
Accessing the container via the 'pct enter <vmid>' is quick work around though.

As for the leap container, the one provided below works flawlessly:
wget https://us.images.linuxcontainers.o....2/amd64/default/20170405_00:53/rootfs.tar.xz
mv rootfs.tar.xz /var/lib/vz/template/cache/opensuse-42.2-default_amd64.tar.gz

You will need to modify /usr/share/perl5/PVE/LXC/Setup/SUSE.pm however to remove the version check for 13.2

#if ($1 != 13 || ($2//0) > 2) {
# die "unsupported suse release '$version'\n";
#}

I've not come across opensuse containers below version of 13.2 anyway.

Cheers,
Brad.
 
Thanks for the reply
Found that image a while ago, but no matter how much I comment out from the version check, it still gives me "TASK ERROR: unsupported suse release '42.2'". Can´t find any other occurrences of that string i the script, so I don´t understand where it comes from.
 
Thanks for the reply
Found that image a while ago, but no matter how much I comment out from the version check, it still gives me "TASK ERROR: unsupported suse release '42.2'". Can´t find any other occurrences of that string i the script, so I don´t understand where it comes from.

will be fixed in the next version of pve-container (1.0-99).