Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Linux Tools Project/Vagrant Tooling/User Guide"
Line 10: | Line 10: | ||
[[File:Vagrant-perspective.png]] | [[File:Vagrant-perspective.png]] | ||
+ | |||
== Vagrant Box View == | == Vagrant Box View == | ||
Line 23: | Line 24: | ||
* [[Image:LinuxToolsDockerDeleteImage.png]] - Remove one or more boxes | * [[Image:LinuxToolsDockerDeleteImage.png]] - Remove one or more boxes | ||
* [[Image:LinuxToolsDockerRefreshImage.png]] - Refresh list of boxes | * [[Image:LinuxToolsDockerRefreshImage.png]] - Refresh list of boxes | ||
+ | |||
=== Adding a Vagrant Box === | === Adding a Vagrant Box === | ||
Line 42: | Line 44: | ||
[[File:Vagrant-create-vm.png]] | [[File:Vagrant-create-vm.png]] | ||
+ | |||
== Vagrant VM View == | == Vagrant VM View == | ||
Line 58: | Line 61: | ||
− | == SSH'ing into a Virtual Machine == | + | === SSH'ing into a Virtual Machine === |
If a Virtual Machine is configured with a proper SSH daemon, one can connect to it with the click of a button. | If a Virtual Machine is configured with a proper SSH daemon, one can connect to it with the click of a button. | ||
[[File:Vagrant-ssh.png]] | [[File:Vagrant-ssh.png]] |
Revision as of 11:57, 27 November 2015
Contents
Introduction
The Linux Tools Vagrant Tooling plug-ins allow a user to manage Vagrant Boxes, and Virtual Machines as one might do with the 'vagrant' commandline tool.
For details on Vagrant, see https://www.vagrantup.com/
Vagrant Tooling Perspective
A new perspective known as the Vagrant Tooling Perspective is added.
Vagrant Box View
Overview
The Vagrant Box view is used to manage the set of existing Box files of which Vagrant is aware.
The following actions are possible from this view depending on the context :
- - Add Vagrant Box
- - Create VM
- - Remove one or more boxes
- - Refresh list of boxes
Adding a Vagrant Box
To add a Vagrant Box, simply click the "Add Box" icon. Provide a name for the box, and then specify either the system path, url, or Atlas repository for the Box file.
Creating a Virtual Machine
One can create a virtual machine in 2 different ways :
- Using an existing Vagrant Box file
- Using an existing Vagrantfile
In either case, we selected the "Create VM" button, and assign some name to our virtual machine. If a Box was imported into the Vagrant Box View, we can use it to define our virtual machine. We can even specify a Box file on the local system that hasn't been imported. If on the other hand we have a Vagrantfile, we can simply select "Custom Vagrantfile" and provide the location of this file on our system.
We can optionally provide environment variables to be passed to the creation of this virtual machine.
Vagrant VM View
Overview
The Vagrant VM view is used to manage the set of existing virtual machines managed by Vagrant.
The following actions are possible from this view depending on the context :
- - Start a stopped VM
- - Stop a running VM
- - Delete a VM
- - SSH into VM
- - Refresh VM list
SSH'ing into a Virtual Machine
If a Virtual Machine is configured with a proper SSH daemon, one can connect to it with the click of a button.