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

Install strings with busybox. #8

Open
cheako opened this issue Mar 22, 2021 · 0 comments
Open

Install strings with busybox. #8

cheako opened this issue Mar 22, 2021 · 0 comments

Comments

@cheako
Copy link
Contributor

cheako commented Mar 22, 2021

Feeding off #7.
Install "string" would be like:

apt -qy install curl busybox &&
curl https://raw.githubusercontent.com/onemarcfifty/openvpn-bonding/best/init.sh|busybox sh -s server-install

Where best would be a branch with the current recommended version. init.sh is a bad name, but it may contain all the code created/compiled at commit time by git hooks... or it could use curl X|busybox sh -s to get at the appropriate code, it's not like any involved host should want for internet access.

Something like:
https://bash.cyberciti.biz/guide/Menu_driven_scripts
At the end the server config could optionaly print the correct input to paste into the corresponding client host, including the install string.

Edit: I was just thinking about a best branch in practice, I don't know if raw.githubusercontent.com would honor the gitattribute ident or if git foo like that is even an option to retrieve the commit id in an init.sh script that pulls other scripts with curl.

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