changeset 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 2d119b462c83
children 47750947f4dc
files manifests/nodes.pp
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
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',
+	}
 }