Restore and change ostemplate

Lillpjot

New Member
Feb 22, 2016
4
0
1
53
Hi,

Did an upgrade from 3.4 to 4.1 on the server, only running one server so I did a backup and moved the containers I wanted of the system, and then installed Proxmox 4.1 from scratch.

When I try to restore I'm getting the "ubunt unsupported 13.10" message, the actually system in the image is 14.04 but the ostemplate is still using the old name. (using #pct restore XX backup.tar.lzo).

Is there any way to change/force an ostemplate on a backup which would make it possible to upgrade?

/Lillpjot
 
I was able to change the ostemplate config parameter in the VEID.conf in one the dumps by starting a Proxmox 3.1 in a KVM under the new Proxmox 4.1.
Unfortunately the last one where to large to be able unpack in the KVM.

Therefore I would like to know if there is someway to tell the "#pct restore" that the ostemplate parameter in VEID.conf is wrong and the correct is e.g. ostemplate = "ubuntu 14.04" instead.

/lillpjot
 
Therefore I would like to know if there is someway to tell the "#pct restore" that the ostemplate parameter in VEID.conf is wrong and the correct is e.g. ostemplate = "ubuntu 14.04" instead.

Currently not (but there are plans to implement it).
 
Ok, thanks.

Any hints of where the test is done for checking supported ostemplates?
Done some searching but couldn't find where the actual matching is done.

I'm ready to do some "hacking" to get just this backup up, without needing to reinstall a larger proxmox 3.4.

Thank in advance

/Lillpjot
 
Thank You!

Restore worked, where able to logon, and then upgrade. This actual backup was 13.04, but everything worked.
Thanks for the help, everything worked out great.

/Lillpjots