User talk:Mattzerah
From Linux-VServer
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