Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Gentoo template creation

16 bytes added, 15:53, 8 December 2008
m
Fixed Path
== Edit /sbin/rc ==
Edit <code>/var/lib/vz/private/777/sbin/rc</code> and put a hash mark (#) at the beginning of line 244 (your line number may be different):
<pre># try mount -n ${mntcmd:--t sysfs sysfs /sys -o noexec,nosuid,nodev}</pre>
This prevents the container from attempting to mount <code>/sys</code>.
To ensure that this change isn't automatically overwritten on update, add the following to <code>/var/lib/vz/private/777/etc/make.conf</code>:
<pre>CONFIG_PROTECT = /sbin/rc</pre>
10
edits