-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Vagrant: Add support for .devvmrc #14272
Conversation
test-me-please |
27eeca6
to
379699e
Compare
test-me-please |
test/Vagrantfile
Outdated
# Disable unattended-upgrades to prevent it from holding the dpkg frontend lock | ||
# To be removed once this has been added through packer-ci-build | ||
sudo systemctl disable unattended-upgrades.service | ||
sudo systemctl stop unattended-upgrades.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can now remove those lines, they are part of the VM images: cilium/packer-ci-build@af99f4c.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. It would be good to update the contributing docs to mention this file for users who first setting up their environment.
Execute the file .devvmrc within the Developer VM and CI VMs, if it exists in the cilium repo. This allows for setting git config, docker registry caching, or any other personal settings for the Dev's environment automatically. Setting up /etc/hosts in k8s_install.sh is changed to append instead of replace, so that .devvmrc can add host entries without losing them right after when k8s_install runs. Signed-off-by: Jarno Rajahalme <jarno@covalent.io>
379699e
to
bacea09
Compare
@christarazi Added docs :-) |
Execute the file .devvmrc within the Developer VM and CI VMs, if it
exists in the cilium repo. This allows for setting git config, docker
registry caching, or any other personal settings for the Dev's environment
automatically.
Setting up /etc/hosts in k8s_install.sh is changed to append instead
of replace, so that .devvmrc can add host entries without losing them
right after when k8s_install runs.
Signed-off-by: Jarno Rajahalme jarno@covalent.io