Install `cni` plugins, using `eget`.

This commit is contained in:
Kazuhiro MUSASHI 2024-07-20 17:33:50 +09:00
parent 8e0a8a06c3
commit a61e3c3dd7
17 changed files with 1 additions and 8 deletions

View File

@ -31,14 +31,7 @@ directory '/opt/cni/bin' do
mode '0755'
end
%w( bandwidth bridge dhcp firewall host-device host-local ipvlan loopback macvlan portmap ptp sbr static tuning vlan vrf ).each do |f|
remote_file "/opt/cni/bin/#{f}" do
owner 'root'
group 'root'
mode '0775'
end
end
execute "eget containernetworking/plugins --to /opt/cni/bin --upgrade-only -a ^sha --all"
directory '/etc/cni' do
owner 'root'