[master 1/1] Add a default vconsole.conf to the boot.iso

Adam Williamson awilliam at redhat.com
Tue Aug 4 23:32:47 UTC 2015


On Tue, 2015-08-04 at 21:56 +0000, bcl wrote:
> From: "Brian C. Lane" <bcl at redhat.com>
> 
> ---
>  share/config_files/common/vconsole.conf | 2 ++
>  share/runtime-postinstall.tmpl          | 1 +
>  2 files changed, 3 insertions(+)
>  create mode 100644 share/config_files/common/vconsole.conf
> 
> diff --git a/share/config_files/common/vconsole.conf 
> b/share/config_files/common/vconsole.conf
> new file mode 100644
> index 0000000..2bd7892
> --- /dev/null
> +++ b/share/config_files/common/vconsole.conf
> @@ -0,0 +1,2 @@
> +KEYMAP=us
> +FONT=eurlatgr
> diff --git a/share/runtime-postinstall.tmpl b/share/runtime
> -postinstall.tmpl
> index 0ac8b6d..1a4b6fd 100644
> --- a/share/runtime-postinstall.tmpl
> +++ b/share/runtime-postinstall.tmpl
> @@ -62,6 +62,7 @@ install ${configdir}/sysctl.conf 
> etc/sysctl.d/anaconda.conf
>  install ${configdir}/spice-vdagentd etc/sysconfig
>  mkdir etc/NetworkManager/conf.d
>  install ${configdir}/91-anaconda-autoconnect-slaves.conf 
> etc/NetworkManager/conf.d
> +install ${configdir}/vconsole.conf etc
>  
>  ## set up sshd
>  install ${configdir}/sshd_config.anaconda etc/ssh

I tested this and it appears to work. Subject to differences in my
image generation process and the official one, but at least an image
built without it uses firmware font in tty2, an image built with it
uses eurlatgr.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
http://www.happyassassin.net



More information about the anaconda-patches mailing list