1 |
commit: a2c8e5ce50ca88a8d73f828453ca67f00fff1081 |
2 |
Author: Diego Elio Pettenò <flameeyes <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jun 2 14:06:27 2011 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 2 16:34:13 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/openrc.git;a=commit;h=a2c8e5ce |
7 |
|
8 |
Don't set hostname on containers. |
9 |
|
10 |
LXC already provides a means to set the utsname/hostname of the system, so |
11 |
avoid overriding the user's configuration through hostname here. |
12 |
|
13 |
Signed-off-by: Diego Elio Pettenò <flameeyes <AT> gmail.com> |
14 |
|
15 |
--- |
16 |
init.d/hostname.in | 2 +- |
17 |
1 files changed, 1 insertions(+), 1 deletions(-) |
18 |
|
19 |
diff --git a/init.d/hostname.in b/init.d/hostname.in |
20 |
index a7c54c8..d859ee8 100644 |
21 |
--- a/init.d/hostname.in |
22 |
+++ b/init.d/hostname.in |
23 |
@@ -5,7 +5,7 @@ |
24 |
description="Sets the hostname of the machine." |
25 |
|
26 |
depend() { |
27 |
- keyword -prefix |
28 |
+ keyword -prefix -lxc |
29 |
} |
30 |
|
31 |
start() |