https://github.com/yaacov/miq-scripts
https://github.com/yaacov/miq-scripts
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/yaacov/miq-scripts
- Owner: yaacov
- License: gpl-3.0
- Created: 2016-02-16T15:53:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-01-28T12:26:26.000Z (over 7 years ago)
- Last Synced: 2025-01-23T09:43:22.656Z (9 months ago)
- Language: Shell
- Size: 95.7 KB
- Stars: 2
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# miq-scripts
All scripts take a hostname prefix parameter. The examples below work on `vm-foo-{02,03}.example.com` hosts.
## prepare.sh
Create VMs, edit file to set new VMs memory, password, copy ssh keys, generate ansible inventory..
```
> bash prepare.sh foo
```
Contains sudo commands, will ask for password if required.
Also has a couple interactive steps.## hosts.$hostname_prefix
A host file for openshift-ansible ansible-playbook (prepare.sh called `hosts-generate.sh foo` to create it).
```
> ansible-playbook /playbooks/byo/config.yml -i hosts.foo
```## add-metric.sh
Add metric to the openshift
[**Run inside the master VM.**]```
$ bash add-metric.sh foo
```----
## delete-vm.sh
Remove VMs from local machine
```
> bash delete-vm.sh foo
```
Contains sudo commands, will ask for password if required.----
## set-miq-providers.rb
Based on `fill_er_up.sh` from https://github.com/zeari/miq-helpers