Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Linux Tools Project/Vagrant Tooling/User Guide"

Line 11: Line 11:
 
[[File:Vagrant-perspective.png]]
 
[[File:Vagrant-perspective.png]]
  
 +
== Vagrant Box View ==
  
== Adding a Vagrant Box ==
+
=== 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 :
 +
 
 +
* [[Image:LinuxToolsDockerImageViewPull.png]] - [[#Adding a Vagrant Box|Add Vagrant Box]]
 +
* [[Image:LinuxToolsDockerContainerCreate.png]] - [[#Creating a Virtual Machine|Create VM]]
 +
* [[Image:LinuxToolsDockerDeleteImage.png]] - Remove one or more boxes
 +
* [[Image:LinuxToolsDockerRefreshImage.png]] - 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.
 
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.
Line 19: Line 31:
  
  
== Creating a Virtual Machine ==
+
=== Creating a Virtual Machine ===
  
 
One can create a virtual machine  in 2 different ways :
 
One can create a virtual machine  in 2 different ways :

Revision as of 11:46, 27 November 2015

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-perspective.png

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 :

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.

Vagrant-add-box.png


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-create-vm.png


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.

Vagrant-ssh.png

Back to the top