Hey all,
I have a quick question.
I have a container with a rather complex configuration with many mounted folders, and several Ethernet devices. I'd like the keep the container as is, but replace the template it is running off of with a different distribution.
Is this possible?
I was thinking something like this:
1.) Shut down container
2.) ZFS Snapshot "rpool/subvol-110-disk-1" in case I want to go back
3.) rm -fr /rpool/subvol-110-disk-1
4.) Manually uncompress (tar -zxvf) template tarball from /var/lib/vz/template/cache to /rpool/subvol-110-disk-1
5.) Start container back up, and configure.
Is this something I can/should do, or could there be problems? I have to do a complicated upgrade of a container, and this would greatly help me if possible.
Many thanks,
Matt
I have a quick question.
I have a container with a rather complex configuration with many mounted folders, and several Ethernet devices. I'd like the keep the container as is, but replace the template it is running off of with a different distribution.
Is this possible?
I was thinking something like this:
1.) Shut down container
2.) ZFS Snapshot "rpool/subvol-110-disk-1" in case I want to go back
3.) rm -fr /rpool/subvol-110-disk-1
4.) Manually uncompress (tar -zxvf) template tarball from /var/lib/vz/template/cache to /rpool/subvol-110-disk-1
5.) Start container back up, and configure.
Is this something I can/should do, or could there be problems? I have to do a complicated upgrade of a container, and this would greatly help me if possible.
Many thanks,
Matt