Mercurial > repos > other > Puppet
diff manifests/nodes.pp @ 251:7307c3d59ce7
Enable console over admin shell via serial
This avoids the need for VNC
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 22 Dec 2019 09:31:31 -0500 |
parents | 308f69ca988c |
children | e36b7f4f85f2 |
line wrap: on
line diff
--- a/manifests/nodes.pp Sun Dec 22 06:58:44 2019 -0500 +++ b/manifests/nodes.pp Sun Dec 22 09:31:31 2019 -0500 @@ -40,4 +40,10 @@ imapserver => 'imap.ibboard.co.uk', firewall_cmd => 'iptables', } + # If the console fails to start, you may need to run "restorecon /etc/systemd/system/getty.target.wants/*" + # to reset the SELinux context of the file + service { 'serial-getty@ttyS0': + ensure => 'running', + enable => 'true', + } }