From: Dark Templar Date: Wed, 22 Oct 2014 14:35:08 +0000 (-0500) Subject: Fix another gentoo template typo X-Git-Tag: lxc-1.1.0.alpha3~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d8b68b1d5be415544a71b18df9635deceb2fd8a;p=thirdparty%2Flxc.git Fix another gentoo template typo 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 Signed-off-by: Serge Hallyn --- diff --git a/templates/lxc-gentoo.in b/templates/lxc-gentoo.in index b7e04b751..8dbc892fa 100644 --- a/templates/lxc-gentoo.in +++ b/templates/lxc-gentoo.in @@ -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" }