]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
lxc-oracle: export upstart environment variable for maygetty
authorDwight Engen <dwight.engen@oracle.com>
Fri, 16 May 2014 13:31:58 +0000 (09:31 -0400)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Fri, 16 May 2014 13:56:03 +0000 (09:56 -0400)
This is a fix to commit 5f2ea8cfcb8ccd9bbb7cf18e1e260044f3f6dcaf.
Sorry, not sure how I missed this in testing the original patch.

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-oracle.in

index 1cf1b1bf1512d9520c491f407db95a93028ec434..2fa289b7b1851422346a50c325efcea3adb7cd7b 100644 (file)
@@ -403,6 +403,7 @@ EOF
 
 start on stopped rc RUNLEVEL=[2345]
 stop on runlevel [!2345]
+env container
 
 respawn
 exec /sbin/maygetty --nohangup --noclear /dev/console