diff options
author | Nat Lasseter <Nat Lasseter nathan@bytemark.co.uk> | 2018-09-18 16:30:24 +0100 |
---|---|---|
committer | Nat Lasseter <Nat Lasseter nathan@bytemark.co.uk> | 2018-09-18 16:30:24 +0100 |
commit | c1fa055107398fd8601c961a60731b9ab953284a (patch) | |
tree | b1286c5d5d5e674ceff4beccb4000ce212f81ca9 /lib/oxidized/model | |
parent | b11087c30cb950b681c5891c3c42ab874b5b74bc (diff) |
Fix source of password typo in 5ceed9bsudo-for-cumulus
Diffstat (limited to 'lib/oxidized/model')
-rw-r--r-- | lib/oxidized/model/cumulus.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/oxidized/model/cumulus.rb b/lib/oxidized/model/cumulus.rb index 00c8721..6e4b204 100644 --- a/lib/oxidized/model/cumulus.rb +++ b/lib/oxidized/model/cumulus.rb @@ -91,7 +91,7 @@ class Cumulus < Oxidized::Model post_login do if vars(:enable) == true cmd "sudo su -", /^\[sudo\] password/ - cmd vars(:password) + cmd @node.auth[:password] elsif vars(:enable) cmd "su -", /^Password:/ cmd vars(:enable) |