Install `cni` plugins, using `eget`.
This commit is contained in:
parent
8e0a8a06c3
commit
a61e3c3dd7
|
@ -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'
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue