All Projects → mechboxes → Mech

mechboxes / Mech

Licence: mit
Easy command line virtual machines for VMWare

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Mech

Tj
Create local WordPress dev sites, manage existing sites, and deploy them, all from the command line.
Stars: ✭ 88 (-70.07%)
Mutual labels:  cli, vagrant
packer-vagrant-builder
Build Solaris,CentOS or Ubuntu Vagrant box with puppet rpm's
Stars: ✭ 49 (-83.33%)
Mutual labels:  vagrant, vmware
packer-centos
Create CentOS images for different hypervisors with Packer
Stars: ✭ 18 (-93.88%)
Mutual labels:  vagrant, vmware
Vagrant Osx
Vagrant setup for Mac OS X
Stars: ✭ 83 (-71.77%)
Mutual labels:  vmware, vagrant
Vagrant Boxes
baseboxes build with packer.io for use with vagrant
Stars: ✭ 291 (-1.02%)
Mutual labels:  vmware, vagrant
Vagrant Docker Vm
💻 Development Vagrant VM with Docker, Samba and Mail sandbox (customizable)
Stars: ✭ 97 (-67.01%)
Mutual labels:  vmware, vagrant
packer-windows
Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
Stars: ✭ 1,116 (+279.59%)
Mutual labels:  vagrant, vmware
Bento
Packer templates for building minimal Vagrant baseboxes for multiple platforms
Stars: ✭ 3,779 (+1185.37%)
Mutual labels:  vmware, vagrant
ansible-role-test-vms
DEPRECATED - A Vagrant configuration to test Ansible roles against a variety of Linux distributions.
Stars: ✭ 42 (-85.71%)
Mutual labels:  vagrant, vmware
insaneworks-packer-template
CentOS 7-8 8Stream / AlmaLinux 8 / FreeBSD 12 - 13 x64 + VirtualBox / VMWare for Packer Template + FreeBSD 13 / AlmaLinux 9 + Parallels
Stars: ✭ 38 (-87.07%)
Mutual labels:  vagrant, vmware
Packer Centos 6
This build has been moved - see README.md
Stars: ✭ 78 (-73.47%)
Mutual labels:  vmware, vagrant
packer-ubuntu
No description or website provided.
Stars: ✭ 29 (-90.14%)
Mutual labels:  vagrant, vmware
Osx Vm Templates
macOS templates for Packer and VeeWee.
Stars: ✭ 1,050 (+257.14%)
Mutual labels:  vmware, vagrant
Packer Ubuntu 1804
This build has been moved - see README.md
Stars: ✭ 101 (-65.65%)
Mutual labels:  vmware, vagrant
Packer Templates
Packer templates for Vagrant base boxes
Stars: ✭ 471 (+60.2%)
Mutual labels:  vmware, vagrant
upstream-institute-virtual-environment
A Vagrant-based image creator for OpenStack Upstream Training sessions
Stars: ✭ 18 (-93.88%)
Mutual labels:  vagrant, vmware
Robox
The tools needed to robotically create/configure/provision a large number of operating systems, for a variety of hypervisors, using packer.
Stars: ✭ 303 (+3.06%)
Mutual labels:  vmware, vagrant
docker-hands-on-guide
Hands on guide for docker, k8s cluster lightweight virtualization.
Stars: ✭ 25 (-91.5%)
Mutual labels:  vagrant, vmware
ansible virtualization
Ansible Collection: Virtualization roles
Stars: ✭ 31 (-89.46%)
Mutual labels:  vagrant, vmware
packer-templates
Packer templates for creating Amazon EC2 images, Proxmox templates and Vagrant boxes
Stars: ✭ 70 (-76.19%)
Mutual labels:  vagrant, vmware

mech

I made this because I don't like VirtualBox and I wanted to use vagrant with VMWare Fusion but was too cheap to buy the Vagrant plugin.

https://blog.kchung.co/mech-vagrant-with-vmware-integration-for-free/

Usage is pretty straightforward:

Usage: mech [options] <command> [<args>...]

Options:
    -v, --version                    Print the version and exit.
    -h, --help                       Print this help.
    --debug                          Show debug messages.

Common commands:
    (list|ls)         lists all available boxes
    init              initializes a new Mech environment by creating a Mechfile
    destroy           stops and deletes all traces of the Mech machine
    (up|start)        starts and provisions the Mech environment
    (down|stop|halt)  stops the Mech machine
    suspend           suspends the machine
    pause             pauses the Mech machine
    ssh               connects to machine via SSH
    ssh-config        outputs OpenSSH valid configuration to connect to the machine
    scp               copies files to and from the machine via SCP
    ip                outputs ip of the Mech machine
    box               manages boxes: installation, removal, etc.
    global-status     outputs status Mech environments for this user
    status            outputs status of the Mech machine
    ps                list running processes in Guest OS
    provision         provisions the Mech machine
    reload            restarts Mech machine, loads new Mechfile configuration
    resume            resume a paused/suspended Mech machine
    snapshot          manages snapshots: saving, restoring, etc.
    port              displays information about guest port mappings
    push              deploys code in this environment to a configured destination

For help on any individual command run `mech <command> -h`

Example:

Initializing and using a machine from HashiCorp's Vagrant Cloud:

    mech init bento/ubuntu-14.04
    mech up
    mech ssh

mech init can be used to pull a box file which will be installed and generate a Mechfile in the current directory. You can also pull boxes from Vagrant Cloud with mech init freebsd/FreeBSD-11.1-RELEASE. Barring that, mech up <name> can also be used to specify a vmx file to start.

Install

pip install -U mech

or for the latest:

pip install -U git+https://github.com/mechboxes/mech.git

Shared Folders

If the box you init was created properly, you will be able to access the host's current working directory in /mnt/hgfs/mech. If you are having trouble try running:

sudo apt-get update
sudo apt-get install linux-headers-$(uname -r) open-vm-tools

followed by

sudo vmware-config-tools.pl

or

vmhgfs-fuse .host:/mech /mnt/hgfs
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].