ignite

command module
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 12, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

README

Ignite

Ignite is a tool to help start/stop/suspend/reset vmware fusion's virtual machine from a config file.

Install
% go get github.com/alimy/ignite@latest
Ignitefile

Ignitefile is a HCL format file.A sample file is here.

Usage
% cat Ignitefile
version = "1"
...
...

# start workspace that named mysql-cluster
% ignite start mysql-cluster
INFO[0000] start workspace: mysql-cluster               
INFO[0000] start tier: mysql master.                    
INFO[0001] start tier: mysql node 2.                    
INFO[0001] start tier: mysql node 1.                    
INFO[0004] start tier: mysql router. 

# suspend workspace that named mysql-cluster
% ignite suspend -f Ignitefile mysql-cluster
INFO[0000] suspend workspace: mysql-cluster             
INFO[0000] suspend tier: mysql router.                  
INFO[0000] suspend tier: mysql node 2.                  
INFO[0000] suspend tier: mysql node 1.                  
INFO[0002] suspend tier: mysql master.

# ssh to tier
% ignite ssh -u alimy mysql-master
INFO[0000] try ssh to [email protected] on port 22
Activate the web console with: systemctl enable --now cockpit.socket

Last login: Sat May 23 18:17:04 2020 from 192.168.117.1

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL