Commit 1367afe2 by teruo-oshida Committed by Stéphane Graber

update path of tty.conf

$container_rootfs may not be used so 'sed' will try to patch "/etc/init/tty.conf". It must not be correct. Signed-off-by: 's avatarTeruo Oshida <teruo.oshida@miraclelinux.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 8d66bdcd
......@@ -344,7 +344,7 @@ EOF
# prevent mingetty from calling vhangup(2) since it fails with userns.
# Same issue as oracle template: prevent mingetty from calling vhangup(2)
# commit 2e83f7201c5d402478b9849f0a85c62d5b9f1589.
sed -i 's|mingetty|mingetty --nohangup|' $container_rootfs/etc/init/tty.conf
sed -i 's|mingetty|mingetty --nohangup|' $rootfs_path/etc/init/tty.conf
if [ ${root_display_password} = "yes" ]
then
......
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