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

Feature Request: Support for providing script files to post_create_script. #68

Open
BHorine24 opened this issue Sep 4, 2024 · 0 comments

Comments

@BHorine24
Copy link

It would be nice to be able to pass in a file instead of a list of commands to the post_create_script driver option. This is beneficial when there is a more complex set of actions that must be taken on the machine that would otherwise clutter the kitchen file.

As an extra bonus, it would be even nicer if that script could also be told to run as root (or perhaps sudo is the better way). Right now this hook appears to run as the transport user I believe which in the case of OCI is generally the less privileged OPC user. Being able to run this script via sudo/root would make the script a lot simplier when needing to perform elevated privileges tasks.

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

1 participant