mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 12:03:31 +01:00
integrate-distro.sh: Create /etc/issue and /etc/issue.net
This commit is contained in:
parent
d6254a048b
commit
aac232c0c9
1 changed files with 16 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue