Skip to content

Instantly share code, notes, and snippets.

@dharry
Last active August 29, 2015 14:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dharry/737e1d45f3b5536c9a07 to your computer and use it in GitHub Desktop.
Save dharry/737e1d45f3b5536c9a07 to your computer and use it in GitHub Desktop.
#!/bin/bash
# host-uuid
# xe host-list ....
hostuuid="7504f58d-e2e9-4b4e-9b74-5d009e91d26d"
xe message-create host-uuid=${hostuuid} name=pri001 priority="1" body=hogehoge
xe message-create host-uuid=${hostuuid} name=pri002 priority="2" body=foobar
xe message-create host-uuid=${hostuuid} name=pri003 priority="3" body=fuga
xe message-create host-uuid=${hostuuid} name=pri004 priority="4" body=abeshi
xe message-create host-uuid=${hostuuid} name=pri005 priority="5" body=hidebu
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment