vagrant ubuntu java env
1.0.0
Clone le référentiel:
$ git clone https://github.com/wechris/packer-templates.git && cd packer-templates
Créez une image de machine à partir du modèle dans le référentiel:
$ packer build -only=virtualbox-iso ubuntu-16.10-amd64.json
Ajoutez la boîte construite à Vagrant:
$ vagrant box add packer-ubuntu-16.10-amd64 ubuntu-16.10-amd64-virtualbox.box
Clone le référentiel:
cd ..
$ git clone https://github.com/wechris/vagrant-ubuntu-java-env.git && cd vagrant-ubuntu-java-env
Construire la boîte
$ vagrant up --provision
#Vagrant Provisioning Development Environment
L'objectif de ce projet simple est de permettre la création d'un environnement de développement Java contenant des fonctionnalités de base. Utilisation de l'approvisionnement Vagrant sur le script SSH pour faire les installations et les personnalisations.
## sera installé:
Les installations sont personnalisables. Pour éviter toute installation, commentez simplement la ligne d'appel de script. Exemple:
# Install MySql
# config.vm.provision "shell", path: ".vagrant-provision/my-sql.sh"## pour l'utilisation:
#
# VARIABLES
GIT_USER = < input-your-git-email > #
# VARIABLES
VM_IP = " xxx.xxx.xxx.xxx "
GIT_USER = " git user "
DIR_HOME = " home directory of user vagrnat "
HOST = " linux "## Détails de la machine virtuelle