aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-06-02 16:06:27 +0200
committerWilliam Hubbs <williamh@gentoo.org>2011-06-02 11:34:13 -0500
commita2c8e5ce50ca88a8d73f828453ca67f00fff1081 (patch)
treed6563e0718f085941e2cee2524399a37f549da1c
parent11d8b70d74b339777c7849dc3688244e85587501 (diff)
Don't set hostname on containers.
LXC already provides a means to set the utsname/hostname of the system, so avoid overriding the user's configuration through hostname here. Signed-off-by: Diego Elio Pettenò <flameeyes@gmail.com>
-rw-r--r--init.d/hostname.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/hostname.in b/init.d/hostname.in
index a7c54c80..d859ee86 100644
--- a/init.d/hostname.in
+++ b/init.d/hostname.in
@@ -5,7 +5,7 @@
description="Sets the hostname of the machine."
depend() {
- keyword -prefix
+ keyword -prefix -lxc
}
start()