]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
gentoo: fix typo, may break host init system
authorgza <github.guillaume@zitta.fr>
Sat, 25 Jan 2014 06:02:12 +0000 (07:02 +0100)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 28 Jan 2014 09:57:36 +0000 (09:57 +0000)
Signed-off-by: gza <github.guillaume@zitta.fr>
Acked-by: Stéphane Graber <stgraber@ubuntu.com>
templates/lxc-gentoo.in

index 1404390a964cc7b08e34b21b29a8cc4a8673a009..ae865ba5af31068dd74392dfb401b1f9722ff9b9 100644 (file)
@@ -531,7 +531,7 @@ container_net()
     # will fail to load
     if [[ -z "${nic_managed}" ]]; then
         #tell openrc that lxc already did the work
-        echo 'rc_provide="net"' >> "$CACHE/etc/rc.conf"
+        echo 'rc_provide="net"' >> "${rootfs}/etc/rc.conf"
     fi
 
     #No NIC ?