Commit 970ab4f0 by Dark Templar Committed by Stéphane Graber

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: 's avatarDark Templar <dark_templar@hotbox.ru> Signed-off-by: 's avatarSerge Hallyn <serge.hallyn@ubuntu.com>
parent 27125708
......@@ -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"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment