Add new comment

Submitted by kir (registered user) on Wed, 2008-07-09 03:17.

Tony,

Thanks for the interesting article!

Not sure which version of vzctl you use, but since vzctl-3.0.11, released some time in Aug 2006, it supports calling VE by names, e.g.:

vzctl create 202 --ostemplate debian-4.0-i386-minimal --name mydns

vzctl start mydns

vzctl enter mydns

A generic way to obtain a VEID using its name is something like

vzlist -H -oveid $NAME

UBC parameters for the given container can be obtained from /proc/bc/$VEID/resources.

Hope that helps.

Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.

Reply

*
*
The content of this field is kept private and will not be shown publicly.


*

  • Images can be added to this post.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img> <div>
  • Lines and paragraphs break automatically.