Creating OpenVZ OSTemplate

October 27, 2009

Actually this article is not about creating OS template. Well, it’s about when you done customizing some OS Template and you want to backup or make it as a new pre-configured OS template :

  1. Shutdown your OpenVZ container : vzctl stop {CTID}
  2. As root, go to /vz/private/{CTID} and launch : tar -cvzf /vz/template/cache/{OSTemplate-Name}.tar.gz .

Leave a Reply