Skip to content

Commit

Permalink
Adding keys to ubuntu user
Browse files Browse the repository at this point in the history
  • Loading branch information
medhamsh committed Oct 7, 2014
1 parent 34d8d9c commit 2379710
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions base/recipes/configure.rb
Expand Up @@ -24,6 +24,10 @@
command "cat /opt/goatos/.ssh/admin-keys/keys >> /opt/goatos/.ssh/authorized_keys"
end

execute "add-ubuntu-keys" do
command "cat /opt/goatos/.ssh/admin-keys/keys >> /home/ubuntu/.ssh/authorized_keys"
end

execute "cgroups" do
command "sudo cgm create all goatos && sudo cgm chown all goatos $(id -u goatos) $(id -g goatos)"
end
Expand Down

0 comments on commit 2379710

Please sign in to comment.