mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
Print obtained token during get command if no token exists
This commit is contained in:
parent
e8094fb91d
commit
3b92f12ee9
1 changed files with 2 additions and 0 deletions
|
|
@ -52,6 +52,8 @@ class Vmfloaty
|
|||
puts "No token found. Retrieving a token..."
|
||||
pass = password "Enter your password please:", '*'
|
||||
token = Auth.get_token(verbose, url, user, pass)
|
||||
puts "\nToken retrieved!"
|
||||
puts token
|
||||
end
|
||||
|
||||
response = Pooler.retrieve(verbose, os_types, token, url)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue