269bab222a
The env* name scheme was mildly annoying for tab completion because it required four characters to be typed before the intended command was disambiguated. This rename drops that to three characters, which I find much more usable. It's also more consistent with the naming of the other scripts.
9 lines
335 B
Bash
Executable File
9 lines
335 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Usage: stop-env <ID>
|
|
# Example: stop-env test
|
|
# This will stop the undercloud and bmc, as well as up to 5 baremetal instances
|
|
|
|
# TODO: Make this smarter so it will handle an arbitrary number of baremetal instances
|
|
nova stop undercloud-$1 bmc-$1 baremetal-$1_0 baremetal-$1_1 baremetal-$1_2 baremetal-$1_3 baremetal-$1_4
|