Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

provision_oke.sh - command not found error #210

Open
pierrepgithub opened this issue Aug 20, 2024 · 2 comments
Open

provision_oke.sh - command not found error #210

pierrepgithub opened this issue Aug 20, 2024 · 2 comments

Comments

@pierrepgithub
Copy link

When running ./provision_oke.sh responsefile.rsp - I am getting the following errors

./responsefile/idmcluster.rsp: line 23: $'\r': command not found
./responsefile/idmcluster.rsp: line 24: $'\r': command not found
./responsefile/idmcluster.rsp: line 25: $'\r': command not found
./responsefile/idmcluster.rsp: line 26: $'\r': command not found
./responsefile/idmcluster.rsp: line 30: $'\r': command not found
./responsefile/idmcluster.rsp: line 32: $'\r': command not found
./responsefile/idmcluster.rsp: line 35: $'\r': command not found
./responsefile/idmcluster.rsp: line 38: $'\r': command not found
./responsefile/idmcluster.rsp: line 41: $'\r': command not found
./responsefile/idmcluster.rsp: line 46: $'\r': command not found
./responsefile/idmcluster.rsp: line 52: $'\r': command not found
./responsefile/idmcluster.rsp: line 57: $'\r': command not found
./responsefile/idmcluster.rsp: line 61: $'\r': command not found
./responsefile/idmcluster.rsp: line 65: $'\r': command not found
./responsefile/idmcluster.rsp: line 81: $'\r': command not found
./responsefile/idmcluster.rsp: line 87: $'\r': command not found
./responsefile/idmcluster.rsp: line 90: $'\r': command not found
./responsefile/idmcluster.rsp: line 94: $'\r': command not found
./responsefile/idmcluster.rsp: line 99: $'\r': command not found
./responsefile/idmcluster.rsp: line 104: $'\r': command not found
./responsefile/idmcluster.rsp: line 105: $'\r': command not found
./responsefile/idmcluster.rsp: line 106: $'\r': command not found
./responsefile/idmcluster.rsp: line 110: $'\r': command not found
./responsefile/idmcluster.rsp: line 111: $'\r': command not found
./responsefile/idmcluster.rsp: line 114: $'\r': command not found
./responsefile/idmcluster.rsp: line 117: $'\r': command not found
./responsefile/idmcluster.rsp: line 130: $'\r': command not found
./responsefile/idmcluster.rsp: line 141: $'\r': command not found
./responsefile/idmcluster.rsp: line 147: $'\r': command not found
./responsefile/idmcluster.rsp: line 156: $'\r': command not found
./responsefile/idmcluster.rsp: line 177: $'\r': command not found
./responsefile/idmcluster.rsp: line 193: $'\r': command not found
./responsefile/idmcluster.rsp: line 219: $'\r': command not found
./responsefile/idmcluster.rsp: line 272: $'\r': command not found
./responsefile/idmcluster.rsp: line 277: $'\r': command not found
./responsefile/idmcluster.rsp: line 285: $'\r': command not found
./responsefile/idmcluster.rsp: line 288: $'\r': command not found
./responsefile/idmcluster.rsp: line 315: $'\r': command not found
./responsefile/idmcluster.rsp: line 343: $'\r': command not found
./responsefile/idmcluster.rsp: line 352: $'\r': command not found
./common/oci_setup_functions.sh: line 15: $'\r': command not found
./common/oci_setup_functions.sh: line 17: syntax error near unexpected token $'{\r'' '/common/oci_setup_functions.sh: line 17: install_bastion_packages() {

The 'SSH_PUB_KEYFILE' does not exist or is empty, please correct the value and re-run the script

@pierrepgithub
Copy link
Author

This seems to be an issue with the files provided by the repository..

The response file contains: "$'\r'" which is causing issues. In order to resolve it, I ran dos2unix against the response file as well as the oci_setup_functions.sh script, which allowed the script to run..

@solanki-chetan
Copy link
Member

This is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants