Comment 8 for bug 937259

Revision history for this message
Dominick Rivard (dominick-rivard) wrote :

Hey Jeremy,

I fixed it, I found what was the issue and how to fix it. Here is why I found what was going on.
Trying the turnkey OVZ template another time, I launched all the command line by hand this time.
I end up getting this warning message:

    Warning: configuration file for distribution turnkey-twiki-11.3-lucid-x86-openvz not found, using defaults from /etc/vz/dists/default

So I start looking in this warning message and fount this forum post:
http://forum.openvz.org/index.php?t=msg&goto=28058&

So it looks like the issue is in the naming convention of turnkey templates and on how OpenVZ set the networking properties based on these names. Probably PVE has added more definition in /etc/vz/dists/ then plain OpenVZ has.

I'll give a quick exemple:
let's take the postgresql template turnkey-postgresql-11.3-lucid-x86-openvz.tar.gz

If you want to work out of the box on vanilla OpenVZ you need to rename it ubuntu-turnkey-postgresql-11.3-lucid-x86-openvz.tar.gz

I also tried to put ubuntu elsewhere in the name but it didn't work.
I attached all the command lines I did after renaming the template, plus you can see that the container is working after that.

So now let's the dev choose the naming convention they want.

Regards.