|
| 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 | + |
| 14 | + |
| 15 | +Vagrant Tooling Perspective |
| 16 | +=========================== |
| 17 | + |
| 18 | +A new perspective known as the Vagrant Tooling Perspective is added. |
| 19 | + |
| 20 | + |
| 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 | +-  - [Add Vagrant Box](#adding-a-vagrant-box "wikilink") |
| 32 | +-  - [Create VM](#creating-a-virtual-machine "wikilink") |
| 33 | +-  - Remove one or more boxes |
| 34 | +-  - 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 | + |
| 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 | + |
| 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 | +-  - Start a stopped VM |
| 65 | +-  - Stop a running VM |
| 66 | +-  - Delete a VM |
| 67 | +-  - [SSH into VM](#sshing-into-a-virtual-machine "wikilink") |
| 68 | +-  - 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 | + |
0 commit comments