mech

Easy command line virtual machines for VMWare

https://github.com/mechboxes/mech

Science Score: 10.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 8 committers (12.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary

Keywords

cli python vagrant vmware
Last synced: 6 months ago · JSON representation

Repository

Easy command line virtual machines for VMWare

Basic Info
Statistics
  • Stars: 312
  • Watchers: 18
  • Forks: 49
  • Open Issues: 26
  • Releases: 0
Topics
cli python vagrant vmware
Created over 10 years ago · Last pushed about 3 years ago
Metadata Files
Readme License

README.md

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] [...]

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:

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

followed by

bash sudo vmware-config-tools.pl

or

bash vmhgfs-fuse .host:/mech /mnt/hgfs

Owner

  • Name: MechBoxes
  • Login: mechboxes
  • Kind: organization

GitHub Events

Total
  • Watch event: 2
Last Year
  • Watch event: 2

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 188
  • Total Committers: 8
  • Avg Commits per committer: 23.5
  • Development Distribution Score (DDS): 0.351
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
German M. Bravo g****b@d****m 122
Kevin Chung k****g@n****u 55
rgcr r****p@g****m 3
CodeKevin k****n@c****m 3
Ryan Stallings 2****s 2
iNamja g****b@s****e 1
Christopher Thompson c****e@g****m 1
Charles Grunwald c****d@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 58
  • Total pull requests: 19
  • Average time to close issues: 4 months
  • Average time to close pull requests: 4 months
  • Total issue authors: 31
  • Total pull request authors: 10
  • Average comments per issue: 2.62
  • Average comments per pull request: 3.0
  • Merged pull requests: 9
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • ColdHeat (12)
  • jal2 (6)
  • mkinney (5)
  • souhaiebtar (3)
  • svanschalkwyk (2)
  • dodo5522 (2)
  • rgcr (2)
  • miketweaver (2)
  • network-shark (2)
  • wpbullet (1)
  • princepathria (1)
  • lluxury (1)
  • Kronuz (1)
  • m-adnan8080 (1)
  • stolzoffd9 (1)
Pull Request Authors
  • mkinney (4)
  • ColdHeat (3)
  • rgcr (3)
  • dodo5522 (2)
  • juntalis (2)
  • eedgar (1)
  • breadchris (1)
  • rstallings (1)
  • iNamja (1)
  • xandradx (1)
Top Labels
Issue Labels
help wanted (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 126 last-month
  • Total dependent packages: 0
    (may contain duplicates)
  • Total dependent repositories: 3
    (may contain duplicates)
  • Total versions: 19
  • Total maintainers: 2
proxy.golang.org: github.com/mechboxes/mech
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.6%
Average: 5.8%
Dependent repos count: 6.0%
Last synced: 6 months ago
pypi.org: mech

Tool for command line virtual machines

  • Versions: 11
  • Dependent Packages: 0
  • Dependent Repositories: 3
  • Downloads: 126 Last month
Rankings
Stargazers count: 3.6%
Forks count: 5.7%
Average: 8.8%
Dependent repos count: 9.0%
Dependent packages count: 10.0%
Downloads: 15.6%
Maintainers (2)
Last synced: 6 months ago

Dependencies

setup.py pypi
  • clint *
  • docopt *
  • filelock *
  • requests *