|
| 1 | +# |
| 2 | +# Copyright (C) 2005 - 2014 Jaspersoft Corporation. All rights reserved. |
| 3 | +# http://www.jaspersoft.com. |
| 4 | +# |
| 5 | +# Unless you have purchased a commercial license agreement from Jaspersoft, |
| 6 | +# the following license terms apply: |
| 7 | +# |
| 8 | +# This program is free software: you can redistribute it and/or modify |
| 9 | +# it under the terms of the GNU Affero General Public License as |
| 10 | +# published by the Free Software Foundation, either version 3 of the |
| 11 | +# License, or (at your option) any later version. |
| 12 | +# |
| 13 | +# This program is distributed in the hope that it will be useful, |
| 14 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 | +# GNU Affero General Public License for more details. |
| 17 | +# |
| 18 | +# You should have received a copy of the GNU Affero General Public License |
| 19 | +# along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 20 | +# |
| 21 | + |
| 22 | +Vagrant.configure(2) do |config| |
| 23 | + |
| 24 | + config.vm.box = "JasperSoft/JasperServer6.1.0" |
| 25 | + config.vm.box_check_update = false |
| 26 | + config.ssh.pty = true |
| 27 | + |
| 28 | + config.vm.network "forwarded_port", guest: 8080, host: 8090 |
| 29 | + config.vm.network "forwarded_port", guest: 5432, host: 5430 |
| 30 | + |
| 31 | + config.vm.provision "shell", inline: "su vagrant -l -c '/bin/sh /home/vagrant/jasperreports-server-cp-6.1.0/ctlscript.sh start'" |
| 32 | + |
| 33 | +end |
0 commit comments