summaryrefslogtreecommitdiffstats
path: root/installer/vagrant/Vagrantfile-devel-vbox
diff options
context:
space:
mode:
authorramon <ramongomez@us.es>2018-02-20 12:19:12 +0000
committerramon <ramongomez@us.es>2018-02-20 12:19:12 +0000
commitb17e87e096bdc340aae129656bd6b46750c59732 (patch)
tree42ef53e4983696005a2d6a2db6c76f08b0c061ab /installer/vagrant/Vagrantfile-devel-vbox
parent03044650e0b68aeb5b721e9562dca823091002d7 (diff)
#739 #768: Cambios menores:
- Crear entradas correctas en DHCP de entorno Vagrant. - Permisos correctos en todos los clientes ogLive. - Obtener datos correctos al ejecutar {{{oglivecli convert}}}. git-svn-id: https://opengnsys.es/svn/branches/version1.1@5603 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'installer/vagrant/Vagrantfile-devel-vbox')
-rw-r--r--installer/vagrant/Vagrantfile-devel-vbox2
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/vagrant/Vagrantfile-devel-vbox b/installer/vagrant/Vagrantfile-devel-vbox
index 2250cd85..c8eb022f 100644
--- a/installer/vagrant/Vagrantfile-devel-vbox
+++ b/installer/vagrant/Vagrantfile-devel-vbox
@@ -42,7 +42,7 @@ wget -q https://opengnsys.es/svn/branches/version1.1/installer/opengnsys_install
mv /opt/opengnsys/log/bash.log /opt/opengnsys/log/opengnsys_installer.log
echo y | /opt/opengnsys/bin/setserveraddr enp0s8
# Insert DHCP data.
-for ((i=#{NCLIENTS+10}; i>0; i--)); do
+for ((i=#{NCLIENTS+10}; i>10; i--)); do
sed -i "/^}$/ i host pc${i} { hardware ethernet #{MACPREFIX}:${i}; fixed-address #{NETPREFIX}.${i}; }" /etc/dhcp/dhcpd.conf
done
service isc-dhcp-server restart