Staging updated method to provide password for LWRP
This commit is contained in:
parent
673a44a90c
commit
2336fcae1e
1 changed files with 4 additions and 0 deletions
|
@ -24,6 +24,10 @@ end
|
|||
private
|
||||
|
||||
def ipa_krblogin
|
||||
#File.open("/tmp/ipa.admin", "w") do |f|
|
||||
# f.write(passwords["ipa_user_pwd"]
|
||||
#end
|
||||
|
||||
if ::File.exist?('/etc/ipa/admin.password') then
|
||||
system 'kinit admin -l 1h < /etc/ipa/admin.password &>/dev/null'
|
||||
if $? == 0 then
|
||||
|
|
Loading…
Reference in a new issue