knife bootstrap json-attributes example

By polfilm,

  Filed under: Chef, Knife
  Comments: None

This is how you properly pass Json string in knife bootstrap

$ knife bootstrap --run-list "role[myiisapp]" --json-attributes "{\"remote_mysql\": {\"ip\": \"10.10.10.100\"}}" --ssh-user root --ssh-password password hostname

Be the first to write a comment.

Your feedback

You must be logged in to post a comment.