summaryrefslogtreecommitdiff
path: root/lx-trainer-vm
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-10-08 23:29:55 +0200
committerJohn Ogness <john.ogness@linutronix.de>2018-10-08 23:29:55 +0200
commit8496e6421ceb6fdea634affea8841dc4025dde65 (patch)
tree5bd6353a4d3509cb8c7ae3804b8b027b8a6fbbc6 /lx-trainer-vm
parentfdcc09728d5adcd1b87c84cfc8ec3d6eb7e1bea4 (diff)
lx-trainer-vm: setup console in finetuning
Normally the console font and keyboard is setup on first boot. But this can be done in the finetuning so that we do not rely on a "first boot" for the console to be setup correctly. Signed-off-by: John Ogness <john.ogness@linutronix.de>
Diffstat (limited to 'lx-trainer-vm')
-rw-r--r--lx-trainer-vm/lx-trainer-vm.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lx-trainer-vm/lx-trainer-vm.xml b/lx-trainer-vm/lx-trainer-vm.xml
index 9c74445..8b609fd 100644
--- a/lx-trainer-vm/lx-trainer-vm.xml
+++ b/lx-trainer-vm/lx-trainer-vm.xml
@@ -157,6 +157,8 @@
<command>echo 'SKEL=/etc/skel.devel' | tee -a /etc/default/useradd</command>
<adduser passwd="devel" shell="/bin/bash" groups="sudo,kvm,dialout">devel</adduser>
<command>mv -f /etc/default/useradd.orig /etc/default/useradd</command>
+ <!-- setup console font/keyboard -->
+ <command>setupcon --save-only</command>
<!-- clear up some space -->
<rm>var/cache/apt/archives/*.deb</rm>
</finetuning>