Skip to content

Latest commit

 

History

History
54 lines (33 loc) · 1.44 KB

File metadata and controls

54 lines (33 loc) · 1.44 KB

vagrant-node

This plugin allows you to set a computer with a virtual environment, configured with Vagrant, to be controlled and managed remotely. The remote machine must have installed the controller plugin, Vagrant-NodeMaster.

With this plugin installed, the Vagrant environment can perform requests, that you usually can execute locally, but commanded by a remote computer. This service is provided through a REST API that this plugin exposes.

This plugin has been developed in the context of the Catedra SAES of the University of Murcia(Spain).

##Installation Requires Vagrant (minimum version 1.2.2) and MySql Server

$ vagrant plugin install vagrant-node

##Configuration

There is a configuration file located at ~/.vagrant.d/data/config.yml, where you can update the mysql connection settings.

---
dbhostname: 127.0.0.1
dbname: mysql
dbuser: root
dbpassword: root

##Usage In order to start the service provided by vagrant-node do:

$ vagrant nodeserver start [port]

Port parameter is optional, its default value is 3333. At the first start, you will be prompted to set a password for that node.

If you want to stop the service just do the following:

$ vagrant nodeserver stop

If you want to change the node password just execute:

$ vagrant nodeserver passwd