How to enable script.groovy on es 5.0.0 alpha2 for ubuntu

You just need script.inline: true. See the GitHub issue you filed for further details.