summaryrefslogtreecommitdiffstats
path: root/installer/vagrant/Vagrantfile-prod-vbox
diff options
context:
space:
mode:
authorRamón M. Gómez <ramongomez@us.es>2018-10-29 13:21:16 +0100
committerRamón M. Gómez <ramongomez@us.es>2018-10-29 13:21:16 +0100
commit5f4cfdc54fa6a4762942abfb24d1acca9535c805 (patch)
tree968156c6957696bf89d7d5cbbba947e42aececc6 /installer/vagrant/Vagrantfile-prod-vbox
parentec536c6b1df165eb490ceb32b89e403870e236db (diff)
#872: Update list of closed tickets; quotation correction in Vagrant files.
Diffstat (limited to 'installer/vagrant/Vagrantfile-prod-vbox')
-rw-r--r--installer/vagrant/Vagrantfile-prod-vbox6
1 files changed, 3 insertions, 3 deletions
diff --git a/installer/vagrant/Vagrantfile-prod-vbox b/installer/vagrant/Vagrantfile-prod-vbox
index fa6f6ded..adeccce7 100644
--- a/installer/vagrant/Vagrantfile-prod-vbox
+++ b/installer/vagrant/Vagrantfile-prod-vbox
@@ -53,10 +53,10 @@ done
service isc-dhcp-server restart
# Set language.
export LANG="#{LANGUAGE}.UTF-8"
-echo "LANG=\"$LANG\"" > /etc/default/locale
-echo "LANG=\"$LANG\"" >> /etc/environment
+echo "LANG=\\\"$LANG\\\"" > /etc/default/locale
+echo "LANG=\\\"$LANG\\\"" >> /etc/environment
locale-gen --lang #{LANGUAGE}
-sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\"${LANG%_*}\"/" /etc/default/keyboard
+sed -i "s/XKBLAYOUT=.*/XKBLAYOUT=\\\"${LANG%_*}\\\"/" /etc/default/keyboard
dpkg-reconfigure -fnoninteractive console-setup
# Comment out 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"