Difference between revisions of "User talk:Mattzerah"

From Linux-VServer

Jump to: navigation, search
 
Line 6: Line 6:
  
 
where command can be one of:
 
where command can be one of:
* [[#build]]
+
* [[#build|build]]
* [[#enter]]
+
* [[#enter|enter]]
* [[#start]]
+
* [[#start|start]]
* [[#stop]]
+
* [[#stop|stop]]
  
 
== build ==
 
== build ==
 +
To create a guest, you need to build it. Build takes several arguments. You can get an overview of the vserver build command by looking at the man page
 +
vserver help build --help
 +
 +
The syntax for a minmal vserver build command is...
 +
vserver <guest_name> build -m <method> --context <context_id> --hostname=<guestname@hostname.com> --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask> -- -d <dist_code>
 +
 +
The options for the build command are
 +
* -m <method>
 +
* --context <context_id>
 +
* --hostname=<guestname@hostname.com>
 +
* --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask>
 +
 +
Further options may be given after the -- switch
 +
* -d <dist_code>
 +
 +
 +
  
== enter ==
 
 
== start ==
 
== start ==
== stop ==
+
To start a guest simply give it the start command
 +
vserver testguest stop
  
To stop a guest simply give it the stop command
+
== enter ==
 +
To shell into the guest, use the enter command
 +
vserver testguest enter
  
 +
== stop ==
 +
To stop a guest simply give it the stop command
 
  vserver testguest stop
 
  vserver testguest stop
  
  
 
[[User:Mattzerah|Mattzerah]]
 
[[User:Mattzerah|Mattzerah]]

Latest revision as of 07:15, 11 May 2007

Contents


[edit] util-vserver usage

vserver <guest_name> <command> <parameters>

where command can be one of:

[edit] build

To create a guest, you need to build it. Build takes several arguments. You can get an overview of the vserver build command by looking at the man page

vserver help build --help

The syntax for a minmal vserver build command is...

vserver <guest_name> build -m <method> --context <context_id> --hostname=<guestname@hostname.com> --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask> -- -d <dist_code>

The options for the build command are

  • -m <method>
  • --context <context_id>
  • --hostname=<guestname@hostname.com>
  • --interface <guest_if>=<real_if>:<guest_ip>/<guest_mask>

Further options may be given after the -- switch

  • -d <dist_code>



[edit] start

To start a guest simply give it the start command

vserver testguest stop

[edit] enter

To shell into the guest, use the enter command

vserver testguest enter

[edit] stop

To stop a guest simply give it the stop command

vserver testguest stop


Mattzerah

Personal tools