Skip to content

Instantly share code, notes, and snippets.

@stalep
Created August 21, 2013 12:38
Show Gist options
  • Save stalep/6293925 to your computer and use it in GitHub Desktop.
Save stalep/6293925 to your computer and use it in GitHub Desktop.
jboss-cli script example
#!/bin/bash
bla
bla
bla
./jboss-cli.sh -c <<EOF
bob
admin123$
batch
/system-property=bar:add(value=foo)
run-batch
exit
EOF
bla
bla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment