CloudBindle / youxia

A VM provisioner and fleet management tool.
GNU General Public License v3.0
2 stars 1 forks source link

Pass IP addresses directly to Reaper #52

Open SolomonShorser-OICR opened 8 years ago

SolomonShorser-OICR commented 8 years ago

It would be convenient to be able to pass an IP address directly to the Reaper when you only want to reap one VM, rather than having to edit the kill-list.json file. For example:

Reaper --ip 111.222.33.4

Or a list of IPs:

Reaper --ip 111.222.33.4 111.222.33.5 111.222.33.6
denis-yuen commented 8 years ago

Sounds good.

As a temporary workaround, there's also echo "[\"111.222.33.4\",\"111.222.33.5\"]" > test.json ; Reaper -- ip test.json