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

Update dev environments to kernel version 5.15 #64

Merged
merged 2 commits into from Aug 8, 2023

Conversation

sanfern
Copy link
Contributor

@sanfern sanfern commented Jun 21, 2023

This PR upgrades vagrant vm to kernel version v5.15. This is minimum kernel version supported in R2 release.

@sanfern sanfern linked an issue Jun 21, 2023 that may be closed by this pull request
Signed-off-by: sferna1 <santhosh.fernandes@gmail.com>
@sanfern sanfern changed the title Update vagrant to kernel version 5.15 Update dev environments to kernel version 5.15 Jun 27, 2023
@sanfern sanfern marked this pull request as ready for review June 27, 2023 07:02
@@ -7,3 +7,4 @@ configs:
host_l3af_debug_port: '38899'
host_l3afd_code_dir: '/code/l3afd'
traffic_mirroring: 'false'
host_l3afd_jammy: 'true'
Copy link
Contributor

@jniesz jniesz Jul 11, 2023

Choose a reason for hiding this comment

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

I would recommend making this generic, so we don't have to change the name of this every release. Maybe call it something like host_distro_version

Comment on lines 32 to 34
l3af.vm.box = "ubuntu/jammy64"
else
l3af.vm.provision "shell", inline: <<-SHELL
Copy link
Collaborator

@dthaler dthaler Jul 18, 2023

Choose a reason for hiding this comment

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

Inconsistent indentation in lines 29 vs 32 vs 34

# restart after upgrade
l3af.vm.provision :reload
end

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this forcing to download 5.15 kernel to /usr/local/bin/ if focal distro detected? Maybe it is good idea to put a comment says, need 5.15 kernel if none jammy distro detected since the ebpf development now require 5.15.0 kernel.

Signed-off-by: sferna1 <santhosh.fernandes@gmail.com>
@dthaler dthaler merged commit 4434e24 into l3af-project:main Aug 8, 2023
1 check passed
@sanfern sanfern deleted the sanfern-dev-env-r2 branch January 26, 2024 18:43
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.

Upgrade vagrant vm to kernel version v5.15
4 participants