Skip to content

Commit

Permalink
Fix another gentoo template typo
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Dark Templar authored and stgraber committed Nov 25, 2014
1 parent 2712570 commit 970ab4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/lxc-gentoo.in
Expand Up @@ -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"
}

Expand Down

0 comments on commit 970ab4f

Please sign in to comment.