integrate-distro.sh: Create /etc/issue and /etc/issue.net

This commit is contained in:
Jan Lindemann 2011-06-29 07:47:15 +00:00 committed by Jan Lindemann
commit aac232c0c9

View file

@ -570,6 +570,20 @@ EOT
}
make_etc_issue()
{
_cat << EOT
|Welcome to the Jux Playout System - Kernel \r (\l).
EOT
}
make_etc_issue_net()
{
_cat << EOT
|Welcome to the Jux Playout System - Kernel %r (%t).
EOT
}
setup_boot_loader_local()
{
check_var_set grub_boot_partition_num grub_slash_boot_partition_num || \
@ -754,6 +768,8 @@ cmd_install()
make_etc_hosts > $root/etc/hosts
make_etc_fstab > $root/etc/fstab
make_etc_sysctl_conf > $root/etc/sysctl.conf
make_etc_issue > $root/etc/issue
make_etc_issue_net > $root/etc/issue.net
host_zypper "base" install --auto-agree-with-licenses coreutils
host_zypper "base update" install --auto-agree-with-licenses zypper