Code Monkey home page Code Monkey logo

alfred-vagrant's Introduction

Alfred Workflow for Vagrant

This workflow allows you to control a single Vagrant instance of your choice.

You can start, stop, restart and view the status of a Vagrant machine. You can also configure the Vagrant machine you want to control via this workflow.

The packaged workflow can be downloaded here.

Workflow screenshot

Keyword Action
vg View status
vg up Start Vagrant
vg halt Stop Vagrant
vg reload Restart Vagrant
vg ssh SSH into Vagrant (port 2222)
vg configure Configure the Vagrantfile to use*

* To configure the Vagrant workflow, you need to type vg configure with a space, and then choose a Vagrantfile you want to control.

sudo note

If you would like to run the vagrant executable with sudo (for forwarding privileged ports, for example), you would need to do 2 things:

  1. Change use_sudo=false to use_sudo=true in the workflow files action.sh and status.sh.
  2. Add this line to your sudoers file via sudo visudo:

%admin ALL = (root) NOPASSWD: /usr/bin/vagrant status, /usr/bin/vagrant status *, /usr/bin/vagrant up, /usr/bin/vagrant halt, /usr/bin/vagrant reload


If you run Vagrant with your own user, no extra steps are needed to use this workflow.

alfred-vagrant's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.