mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
before falling back to interactive
This commit is contained in:
parent
83585383f9
commit
221636f217
@ -48,6 +48,9 @@ class OneDB
|
||||
end
|
||||
|
||||
passwd = ops[:passwd]
|
||||
if !passwd
|
||||
passwd = ENV['ONE_DB_PASSWORD']
|
||||
end
|
||||
if !passwd
|
||||
passwd = get_password
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user