Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/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