Commit fac884ea authored by James T. Lee's avatar James T. Lee
Browse files

console: Restore vconsole.conf

Otherwise the console font isn't retained during framebuffer changes,
such as those observed on Raspberry Pi at boot.
parent 9a5ee79b
......@@ -20,4 +20,13 @@ class nest::base::console {
'/usr/share/keymaps/i386/qwerty/us-nocaps.map.gz':
source => 'puppet:///modules/nest/keymaps/us-nocaps.map.gz';
}
$vconsole_conf_content = @("EOT")
FONT=ter-v${::nest::console_font_size}b
KEYMAP=${keymap}
| EOT
file { '/etc/vconsole.conf':
content => $vconsole_conf_content,
}
}
......@@ -86,11 +86,6 @@ class nest::base::systemd {
enable => true,
}
# XXX: Remove this resource after some time
file { '/etc/vconsole.conf':
ensure => absent,
}
file { '/etc/issue':
content => "\nThis is \\n (\\s \\m \\r) \\t\n\n",
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment