Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add NAMESERVER and SEARCHDOMAIN parameters from /etc/vz/vz.conf #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions virtuozzo_7_users_guide.asc
Original file line number Diff line number Diff line change
Expand Up @@ -3956,6 +3956,7 @@ To set a DNS search domain for the virtual machine `MyVM` and the container `MyC
. Network adapters operating in the routed mode must have at least one static IP address assigned.
. To assign network masks to containers operating in the `venet0` networking mode, you must set the `USE_VENET_MASK` parameter in the `/etc/vz/vz.conf` configuration file to `yes`.
. Containers can have only one network adapter operating in the host-routed mode. This adapter is automatically created when you create a virtual machine.
. You can set nameservers and searchdomain in `/etc/vz/vz.conf` with `NAMESERVER` and `SEARCHDOMAIN` parameters. If you set it to `inherit` - it copy values from host system's /etc/resolv.conf.
====

Switching Virtual Machine Adapters to Host-Routed Mode
Expand Down