From 8883aa5f894bc1f1267a0abeba5836ffb000115f Mon Sep 17 00:00:00 2001 From: ramon Date: Mon, 11 Apr 2016 09:50:18 +0000 Subject: #739: Cambios que faltaban en revisiĆ³n r4874 para configurar el teclado en consola. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://opengnsys.es/svn/branches/version1.1@4876 a21b9725-9963-47de-94b9-378ad31fedc9 --- installer/vagrant/Vagrantfile-boottools-vbox | 1 + installer/vagrant/Vagrantfile-devel-vbox | 1 + installer/vagrant/Vagrantfile-trunk-vbox | 1 + 3 files changed, 3 insertions(+) (limited to 'installer/vagrant') diff --git a/installer/vagrant/Vagrantfile-boottools-vbox b/installer/vagrant/Vagrantfile-boottools-vbox index 3746e3ea..6a661318 100644 --- a/installer/vagrant/Vagrantfile-boottools-vbox +++ b/installer/vagrant/Vagrantfile-boottools-vbox @@ -15,6 +15,7 @@ export LANG="#{LANGUAGE}.UTF-8" echo "LANG=\"$LANG\"" > /etc/default/locale echo "LANG=\"$LANG\"" >> /etc/environment locale-gen --lang #{LANGUAGE} +sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\"${LANG%_*}\"/" /etc/default/keyboard dpkg-reconfigure -fnoninteractive console-setup # Install dependencies. apt-get update -y diff --git a/installer/vagrant/Vagrantfile-devel-vbox b/installer/vagrant/Vagrantfile-devel-vbox index 60086da4..a298c4b7 100644 --- a/installer/vagrant/Vagrantfile-devel-vbox +++ b/installer/vagrant/Vagrantfile-devel-vbox @@ -42,6 +42,7 @@ export LANG="#{LANGUAGE}.UTF-8" echo "LANG=\"$LANG\"" > /etc/default/locale echo "LANG=\"$LANG\"" >> /etc/environment locale-gen --lang #{LANGUAGE} +sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\"${LANG%_*}\"/" /etc/default/keyboard dpkg-reconfigure -fnoninteractive console-setup # Unmcomment next lines for automatic data insertion. #SQL="INSERT INTO aulas (nombreaula, idcentro, urlfoto, grupoid, ubicacion, puestos, modomul, ipmul, pormul, velmul, router, netmask, ntp, dns, proxy, modp2p, timep2p) VALUES ('Aula virtual', 1, 'aula.jpg', 0, 'Despliegue virtual con Vagrant.', 5, 2, '239.194.2.11', 9000, 70, '#{NETPREFIX}1', '255.255.255.0', '', '', '', 'peer', 30); INSERT INTO ordenadores (nombreordenador, ip, mac, idaula, idrepositorio, idperfilhard, idmenu, idproautoexec, grupoid, router, mascara, arranque, netiface, netdriver, fotoord) VALUES" diff --git a/installer/vagrant/Vagrantfile-trunk-vbox b/installer/vagrant/Vagrantfile-trunk-vbox index 98ff59d2..109d3be0 100644 --- a/installer/vagrant/Vagrantfile-trunk-vbox +++ b/installer/vagrant/Vagrantfile-trunk-vbox @@ -42,6 +42,7 @@ export LANG="#{LANGUAGE}.UTF-8" echo "LANG=\"$LANG\"" > /etc/default/locale echo "LANG=\"$LANG\"" >> /etc/environment locale-gen --lang #{LANGUAGE} +sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\"${LANG%_*}\"/" /etc/default/keyboard dpkg-reconfigure -fnoninteractive console-setup # Unmcomment next lines for automatic data insertion. #SQL="INSERT INTO aulas (nombreaula, idcentro, urlfoto, grupoid, ubicacion, puestos, modomul, ipmul, pormul, velmul, router, netmask, dns, proxy, modp2p, timep2p) VALUES ('Aula virtual', 1, 'aula.jpg', 0, 'Despliegue virtual con Vagrant.', 5, 2, '239.194.2.11', 9000, 70, '#{NETPREFIX}1', '255.255.255.0', '', '', 'peer', 30); INSERT INTO ordenadores (nombreordenador, ip, mac, idaula, idrepositorio, idperfilhard, idmenu, idproautoexec, grupoid, router, mascara, arranque, netiface, netdriver, fotoord) VALUES" -- cgit v1.2.3-18-g5258