Added sensative to new ssh-pvt deployment
This commit is contained in:
parent
8cca9e32aa
commit
673a44a90c
1 changed files with 11 additions and 9 deletions
|
@ -244,6 +244,7 @@ file "/root/.ssh/id_rsa" do
|
|||
owner "root"
|
||||
group "root"
|
||||
mode "0600"
|
||||
sensitive true
|
||||
end
|
||||
|
||||
file "/root/.ssh/id_rsa.pub" do
|
||||
|
@ -251,6 +252,7 @@ file "/root/.ssh/id_rsa.pub" do
|
|||
owner "root"
|
||||
group "root"
|
||||
mode "0600"
|
||||
sensitive true
|
||||
end
|
||||
|
||||
ruby_block "add public key to authorized_keys" do
|
||||
|
|
Loading…
Reference in a new issue