Add ondemand flag and api v2 support to floaty ssh

This commit is contained in:
Jake Spain 2022-04-04 08:57:23 -04:00
parent 4103fdeccc
commit 667dacbcea
No known key found for this signature in database
GPG key ID: BC1C4DA0A085E113
4 changed files with 115 additions and 34 deletions

View file

@ -484,7 +484,7 @@ class Vmfloaty
FloatyLogger.info "Can't ssh to multiple hosts; Using #{host_os} only..." if args.length > 1
service.ssh(verbose, host_os, use_token)
service.ssh(verbose, host_os, use_token, options.ondemand)
exit 0
end
end