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

Linux deployment scripts tweaks #900

Merged

Conversation

mssalvatore
Copy link
Collaborator

@mssalvatore mssalvatore commented Dec 8, 2020

What does this PR do?

Fixes a number of issues with deployment_scripts/deploy_linux.sh.

The deployment_scripts/deploy_linux.sh is not often used. As such, it has fallen into a state of disrepair. These commits fix a number of installation failures, as well as update some documentation to improve the overall experience of using the linux deployment script.

PR Checklist

  • Have you added an explanation of what your changes do and why you'd like to include them?
  • Is the TravisCI build passing?
  • Was the documentation framework updated to reflect the changes?

Testing Checklist

  • Added relevant unit tests?
  • Have you successfully tested your changes locally? Elaborate:

    Tested by running the deploy_linux.sh script on an Ubuntu 18.04 VM

  • If applicable, add screenshots or log transcripts of the feature working

Copy link
Contributor

@acepace acepace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should not use apt as it has an unstable CLI interface.
https://manpages.debian.org/buster/apt/apt.8.en.html#SCRIPT_USAGE_AND_DIFFERENCES_FROM_OTHER_APT_TOOLS

Other than that, changes look good.

@mssalvatore
Copy link
Collaborator Author

mssalvatore commented Dec 8, 2020

We should not use apt as it has an unstable CLI interface.

@acepace Good call. I'll push a fix tomorrow.

`apt-get` has a stable command-line interface, while `apt` does not.
@mssalvatore mssalvatore merged commit 44fd1ab into guardicore:develop Dec 9, 2020
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

Successfully merging this pull request may close these issues.

4 participants