linux-on-ibm-z / scripts

16 stars 49 forks source link

Adding 7.1.1 Patch, Adding Support for more Flags and Adding support for Clefos #7

Closed james-crowley closed 5 years ago

james-crowley commented 5 years ago

I updated the diffs for 7.1.1. In addition I added more command line flags to allow for more custom install.

First flag is -v which allows you to pick a version of Elasticsearch to install. The other flags are client and start. Passing these in will disable the running of the client install and service start.

Lastly, I added support for Clefos, which is s390x fork of Centos.

The only lines you will need to change is REPO_URL. Right now it is set to https://raw.githubusercontent.com/james-crowley/scripts/master/Elasticsearch/${PACKAGE_VERSION}/patch, but if you accept the merge you will need to change it back to https://raw.githubusercontent.com/linux-on-ibm-z/scripts/master/Elasticsearch/${PACKAGE_VERSION}/patch.

cwsolee commented 5 years ago

Our script is not open sourced project, can't accept any PR. Besides, our script is meant to match our instruction 100%, ClefOS is not one of our supported OS. We'll review your script to c whether there is anything we can re-use but in general, any user are welcome to use ours as base and create their own customized version.