]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Fix another gentoo template typo
authorDark Templar <dark_templar@hotbox.ru>
Wed, 22 Oct 2014 14:35:08 +0000 (09:35 -0500)
committerSerge Hallyn <serge.hallyn@ubuntu.com>
Wed, 22 Oct 2014 14:35:08 +0000 (09:35 -0500)
I've found one more typo in the gentoo template, configuration in the
generated file /etc/conf.d/hostname was not valid, but it didn't impact
me due to "lxc.utsname" being set in the configuration file of container
and hostname service being not used. Anyway, I've made a patch and
sending it with this mail.

Signed-off-by: Dark Templar <dark_templar@hotbox.ru>
Signed-off-by: Serge Hallyn <serge.hallyn@ubuntu.com>
templates/lxc-gentoo.in

index b7e04b751d5adcc601dbd60d9036ec47cfda8439..8dbc892faa30535b97fd9eb4ee7b9280e594519f 100644 (file)
@@ -623,7 +623,7 @@ and man lxc.conf"
 container_hostname()
 {
     printf "#### container_hostname(): setting hostname... \n"
-    printf "hostnale=%s\n" "${name}" > "${rootfs}/etc/conf.d/hostname"
+    printf "hostname=\"%s\"\n" "${name}" > "${rootfs}/etc/conf.d/hostname"
     printf " => done.\n"
 }