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.sh and existing snaptool.yml #24

Open
bruce-weka opened this issue Nov 30, 2022 · 1 comment
Open

install.sh and existing snaptool.yml #24

bruce-weka opened this issue Nov 30, 2022 · 1 comment

Comments

@bruce-weka
Copy link
Contributor

on new installs, NOT overwriting an existing snaptool.yml gets confusing if a first install attempt fails due to the snaptool.yml contents. Subsequent attempts at running install.sh will just preserve and re-use the bad yml file. Options:
-- better messaging about re-using the /opt/weka/snaptool file
-- ask about preserving vs overwriting snaptool.yml if it exists in /opt/weka/snaptool
-- rm/rename /opt/weka/snaptool.yml if the installer didn't find one to begin with, and the install fails?

@bruce-weka
Copy link
Contributor Author

more options
-- separate install vs upgrade scripts. The issue exists really because install.sh tries to do upgrades, too.
-- "--clean" or similar option for install.sh that cleans up previous install files in install destination

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