Changes between Version 1 and Version 2 of UpgradeOpenvzNotes


Ignore:
Timestamp:
Dec 14, 2012 9:48:37 AM (11 years ago)
Author:
Ted Faber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • UpgradeOpenvzNotes

    v1 v2  
    8282}}}
    8383
     84The [http://wiki.openvz.org/Updating_Debian_template Openvz notes on upgrading Debian] are a template for the rest of this.
    8485
     86The short form is:
    8587
    86 In the host, add the
     88{{{
     89root@pnode-0000:/# exit
     90logout
     91exited from CT 555
     92pnode-0000:~$ sudo vzctl stop 555
     93$ sudo mv /vz/template/cache/ubuntu-12.04-x86_64.tar.gz /vz/template/cache/ubuntu-12.04-x86_64.tar.gz.old
     94$ cd /vz/private/555/
     95$ sudo tar --numeric-owner -czf /vz/template/cache/ubuntu-12.04-x86_64.tar.gz .
    8796}}}
     97
     98Test it by recreating the temporary VM and starting it.
     99
     100{{{
     101$ sudo vzctl destroy 555
     102# goto 1
     103}}}
     104}}}
     105