Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show console dashboard on tty other than tty1 #198

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

johnliu55tw
Copy link
Contributor

  • The console for showing the dashboard will be "the next available virtual console" (tty2, tty3, ...), or tty2 if designated system console is tty6

  • If a serial console is chosen as system console (i.e. system console = ttySN, where N is 0, 1, ...), the dashboard will show on the designated serial console.

  • Need to move setup-installer.sh to initramfs stage for enabling/disabling getty services

  • Because cOS' initramfs stage runs in chroot env and /tmp is not in BindPaths, here-document can't be used. Thus we need to store that override.conf as "/etc/tty-dashboard-override.conf", then copy this file to the correct service.d directory as drop-ins.

TODOs:

  • How to determine which tty to show console dashboard?

    • Provide a Harvester config such as console_tty for users to choose
      which tty to show the dashboard

- Need to move "setup-installer.sh" to initramfs stage for
  enabling/disabling getty services

- Because cOS' initramfs stage runs in chroot env and /tmp is not
  in BindPaths, here-document can't be used. Thus we need to store that
  override.conf as "/etc/tty-dashboard-override.conf", then copy this
  file to the correct service.d directory as drop-ins.

- For testing purpose, the console dashboard will always show on tty6.

TODOs:

- How to determine which tty to show console dashboard?

  - Provide a Harvester config such as `console_tty` for users to choose
    which tty to show the dashboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant