Skip to content

Commit 836d391

Browse files
authored
Upload vagrant user guide
1 parent 2f5777f commit 836d391

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

Diff for: VAGRANT_USER_GUIDE.md

+74
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
Introduction
2+
============
3+
4+
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.
5+
6+
For details on Vagrant, see <https://www.vagrantup.com/>
7+
8+
Vagrant Toolbar Menu
9+
====================
10+
11+
Sometimes, it might be desired to perform some common actions through Vagrant without having to switch perspectives. For these tasks, the Vagrant Tooling also contributes a workbench toolbar icon with a dropdown menu. This displays the set of known VMs, their state, and actions that are possible from that context.
12+
13+
![](images/Vagrant-toolbar-menu.png "images/Vagrant-toolbar-menu.png")
14+
15+
Vagrant Tooling Perspective
16+
===========================
17+
18+
A new perspective known as the Vagrant Tooling Perspective is added.
19+
20+
![](images/Vagrant-perspective.png "images/Vagrant-perspective.png")
21+
22+
Vagrant Box View
23+
----------------
24+
25+
### Overview
26+
27+
The Vagrant Box view is used to manage the set of existing Box files of which Vagrant is aware.
28+
29+
The following actions are possible from this view depending on the context :
30+
31+
- ![](images/LinuxToolsDockerImageViewPull.gif "fig:images/LinuxToolsDockerImageViewPull.gif") - [Add Vagrant Box](#adding-a-vagrant-box "wikilink")
32+
- ![](images/LinuxToolsDockerContainerCreate.gif "fig:images/LinuxToolsDockerContainerCreate.gif") - [Create VM](#creating-a-virtual-machine "wikilink")
33+
- ![](images/LinuxToolsDockerDeleteImage.gif "fig:images/LinuxToolsDockerDeleteImage.gif") - Remove one or more boxes
34+
- ![](images/LinuxToolsDockerRefreshImage.gif "fig:images/LinuxToolsDockerRefreshImage.gif") - Refresh list of boxes
35+
36+
### Adding a Vagrant Box
37+
38+
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.
39+
40+
![](images/Vagrant-add-box.png "images/Vagrant-add-box.png")
41+
42+
### Creating a Virtual Machine
43+
44+
One can create a virtual machine in 2 different ways :
45+
46+
- Using an existing Vagrant Box file
47+
- Using an existing Vagrantfile
48+
49+
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.
50+
51+
We can optionally provide environment variables to be passed to the creation of this virtual machine.
52+
53+
![](images/Vagrant-create-vm.png "images/Vagrant-create-vm.png")
54+
55+
Vagrant VM View
56+
---------------
57+
58+
### Overview
59+
60+
The Vagrant VM view is used to manage the set of existing virtual machines managed by Vagrant.
61+
62+
The following actions are possible from this view depending on the context :
63+
64+
- ![](images/LinuxToolsDockerContainerStartIcon.gif "fig:images/LinuxToolsDockerContainerStartIcon.gif") - Start a stopped VM
65+
- ![](images/LinuxToolsDockerContainerStopIcon.gif "fig:images/LinuxToolsDockerContainerStopIcon.gif") - Stop a running VM
66+
- ![](images/LinuxToolsDockerContainerDeleteIcon.gif "fig:images/LinuxToolsDockerContainerDeleteIcon.gif") - Delete a VM
67+
- ![](images/LinuxToolsVagrantSSHIcon.gif "fig:images/LinuxToolsVagrantSSHIcon.gif") - [SSH into VM](#sshing-into-a-virtual-machine "wikilink")
68+
- ![](images/LinuxToolsDockerContainerRefreshIcon.gif "fig:images/LinuxToolsDockerContainerRefreshIcon.gif") - Refresh VM list
69+
70+
### SSHing into a Virtual Machine
71+
72+
If a Virtual Machine is configured with a proper SSH daemon, one can connect to it with the click of a button.
73+
74+
![](images/Vagrant-ssh.png "images/Vagrant-ssh.png")

0 commit comments

Comments
 (0)