Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

floaty modify should allow to make changes on more than one machine #36

Closed
briancain opened this issue Oct 6, 2016 · 2 comments
Closed

Comments

@briancain
Copy link
Contributor

No description provided.

@briancain
Copy link
Contributor Author

briancain commented Oct 8, 2016

$ floaty modify hostname.com,otherhostname.com,totallyawesomehostname.com --lifetime 12
...
# Or modify all hosts associated with a token
# with a force yes option
$ floaty modify --all --lifetime 12
# Similar output to delete all?

This should probably just iterate over the hosts in the command class and call Pooler.modify and Pooler.disk (if the --disk flag is used) on each, since vmpooler doesn't allow for bulk updating in a single request anyway.

briancain added a commit that referenced this issue Nov 12, 2016
Prior to this commit, you could only modify 1 host at a time with the
floaty modify command. This commit updates that command to allow users
to modify either all known token vms, or vms passed in as a comma
separated list.
@briancain
Copy link
Contributor Author

Thanks @haus for this suggestion :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant