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

test/packet: Default download to /tmp #14055

Merged
merged 1 commit into from
Nov 17, 2020

Conversation

pchaigno
Copy link
Member

By default, the add_vagrant_box.sh script used to download Vagrant boxes to the current directory. This can lead to issues when the current directory is Cilium's.

This pull request removes the -t flag to download to /tmp and makes that the default. Now, if -t is given, it will display a warning. This pull request also introduces a new -d <dir> flag to download the Vagrant boxes to a directory different from /tmp.

@pchaigno pchaigno added the release-note/misc This PR makes changes that have no direct user impact. label Nov 17, 2020
@pchaigno pchaigno requested a review from a team as a code owner November 17, 2020 10:08
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Nov 17, 2020
By default, the add_vagrant_box.sh script used to download Vagrant boxes
to the current directory. This can lead to issues when the current
directory is Cilium's [1].

This commit removes the -t flag to download to /tmp and makes that the
default. Now, if -t is given, it will display a warning. This commit
also introduces a new -d <dir> flag to download the Vagrant boxes to a
directory different from /tmp.

1 - #14045
Signed-off-by: Paul Chaignon <paul@cilium.io>
@pchaigno pchaigno force-pushed the pr/pchaigno/download-vagrant-default-tmp branch from fdd180e to a65a05e Compare November 17, 2020 10:16
@pchaigno pchaigno requested review from qmonnet and removed request for aanm November 17, 2020 10:16
test/packet/scripts/add_vagrant_box.sh Outdated Show resolved Hide resolved
Copy link
Member

@qmonnet qmonnet left a comment

Choose a reason for hiding this comment

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

Thanks!

@qmonnet qmonnet removed their assignment Nov 17, 2020
@pchaigno pchaigno added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Nov 17, 2020
@aanm aanm merged commit f1eb997 into master Nov 17, 2020
@aanm aanm deleted the pr/pchaigno/download-vagrant-default-tmp branch November 17, 2020 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

5 participants