Next Previous Contents

2. Editing virt.conf

This section explains some issues with the main Virtfs configuration file, virt.conf. The file itself is explained well, and self explanatory.

2.1 I do not want my virtual servers within /virtual

If you do not want the virtual servers to be copied over to the /virtual directory (which is does by default), change the value of Leading Virtual Directory to something else, ie. /vhome.

2.2 How and why should I edit the <Shell Commands> section?

After creating a virtual server, Virtfs will run the shell commands you enter within the <Shell Commands> section. The values of !!virtual is the directory in which your virtual server resides. !!domain is the name of the virtual server (ie. vserver.com). For example:

echo !!domain > !!virtual/etc/HOSTNAME
translates to:
echo vserver.com > /virtual/vserver.com/etc/HOSTNAME


Next Previous Contents