Skip to content

Instantly share code, notes, and snippets.

@vsudilov
Last active June 18, 2018 07:50
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vsudilov/03a4c52c69c8304d9c38e5c4fb01983d to your computer and use it in GitHub Desktop.
Save vsudilov/03a4c52c69c8304d9c38e5c4fb01983d to your computer and use it in GitHub Desktop.
sudo -i
/opt/aws/opsworks/current/bin/chef-zero &
cd /var/chef/runs/*/
opsworks-agent-cli get_json > attributes.json
/opt/aws/opsworks/current/bin/chef-shell -c client.rb -j attributes.json -z -S http://localhost:8889
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment