Commit cb6e07c17b87a52c05c3398f7537bf6ada59d134
Exists in
sei-v3.0.0-oracle-dockerimages
and in
3 other branches
Verificação de instalação de plugin de atualização do VBGuest-Additions (vagrant-vbguest)
Showing
2 changed files
with
12 additions
and
4 deletions
Show diff stats
Vagrantfile
1 | # -*- mode: ruby -*- | 1 | # -*- mode: ruby -*- |
2 | # vi: set ft=ruby : | 2 | # vi: set ft=ruby : |
3 | + | ||
4 | +#unless Vagrant.has_plugin?("vagrant-vbguest") | ||
5 | +# raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+ | ||
6 | +# "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+ | ||
7 | +# "> vagrant plugin install vagrant-vbguest \n\n" | ||
8 | +#end | ||
3 | 9 | ||
4 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | 10 | # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! |
5 | VAGRANTFILE_API_VERSION = "2" | 11 | VAGRANTFILE_API_VERSION = "2" |
Vagrantfile_Distrib
1 | # -*- mode: ruby -*- | 1 | # -*- mode: ruby -*- |
2 | # vi: set ft=ruby : | 2 | # vi: set ft=ruby : |
3 | 3 | ||
4 | -# All Vagrant configuration is done below. The "2" in Vagrant.configure | ||
5 | -# configures the configuration version (we support older styles for | ||
6 | -# backwards compatibility). Please don't change it unless you know what | ||
7 | -# you're doing. | 4 | +unless Vagrant.has_plugin?("vagrant-vbguest") |
5 | + raise "\n\nAmbiente de desenvolvimento não pode ser criado não foi encontrado o plugin vagrant-vbguest.\n"+ | ||
6 | + "Para solucionar o problema, execute o seguinte comando no diretório raiz do projeto.\n\n"+ | ||
7 | + "> vagrant plugin install vagrant-vbguest \n\n" | ||
8 | +end | ||
9 | + | ||
8 | Vagrant.configure(2) do |config| | 10 | Vagrant.configure(2) do |config| |
9 | 11 | ||
10 | # Box do vagrant contendo o ambiente de desenvolvimento do SEI | 12 | # Box do vagrant contendo o ambiente de desenvolvimento do SEI |