GithubHelp home page GithubHelp logo

stellator's Introduction

VMWare Fusion headless VM control scripts

This python module contains scripts for OS X to discover and manage VMware Fusion virtual machines, escpecially VMs running in headless mode that can't be controller directly by VMWare Fusion GUI.

Installing

This code can be installed normally with pip:

pip install stellator

Pip install does not currently include the files from examples directory.

Using the tool

There is just one script called 'stellator' installed to your path. See --help for all arguments what it can do.

In the command line arguments, VM names are case insensitive. You can also use wildcards in VM name arguments

Examples

  • stellator list

    Lists detected virtual machines

  • stallator status

    Shows status of virtual machines

  • stallator status rhel*

    Shows status of virtual machines starting with name rhel

  • stellator suspend facebook

    Suspends a VM called facebook

  • stellator start zabbix

    Starts a VM called zabbix. If the VM was suspended, it's resumed, otherwise booted.

  • stellator stop zabbix

    Shuts down a VM called zabbix.

  • stellator details facebook

    Shows some configuration details parsed from the .vmx file and disk configuration.

Configuring for headless VM reboot suspend/resume

Following instructions expect you installed stellator to /usr/local. Adjust paths in the script accordingly if this is not the case.

Example configuration in examples/StartupItems can be used to configure automatic suspend and resume of headless VMs during reboots with:

sudo install -d /Library/StartupItems/StellatorHeadless
sudo cp examples/StartupItems/StellatorHeadless/* /Library/StartupItems/StellatorHeadless/
sudo chown -R root:root /Library/StartupItems/StellatorHeadless/*
sudo chmod 0644 /Library/StartupItems/StellatorHeadless/StartupParameters.plist
sudo chmod 0755 /Library/StartupItems/StellatorHeadless/StellatorHeadless.sh

Naming and Credits

Named after 'stellator' type fusion reactor design. While I don't know a thing about fusion power, I value the efforts by the people who do.

The details how to run VMs as headless are based on the cummunity documentation in:

https://communities.vmware.com/thread/292873?tstart=0

Thanks for finding the details to allow me writing this without too much debugging.

stellator's People

Contributors

hile-codento avatar

Watchers

 avatar

Forkers

dirkakrid

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.