module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Apr 11, 2020
License: MIT
Opens a new window with license information.
README
¶
SSH Provision
A simple tool to create ssh keys and distribute them to CentOS servers.
Note: This tool is not production ready.
How To Run
Prerequisites:
- vagrant version
2.2.7
or later
- go version
1.13
or later
Development
- Run
make init
to initialize the environment.
- Run
make run
to execute the cli tool.
Test
- Run
make init
to initialize the environment.
- Run
make test
to execute the tests for the cli tool.
Run make vm/start
to create the virtual machine, make vm/stop
to stop the virtual machine and make vm/remove
to remove it.
How To Build
Linux
- Run
make init
to initialize the environment.
- Run
make build
to build the cli tool.
References
Go Docs
Go SSH
Go Logus
Go Cobra
Go Validator
Go Testify
Go Project Layout
Directories
¶
Click to show internal directories.
Click to hide internal directories.