integ/kubernetes/cni/bond-cni/centos
Dan Voiculeasa 1ed2cdf186 cni: use /var/opt/cni
This will allow bootstrap on Debian to work without unlocking ostree.

Currently /opt/cni is a symlink to a /usr subdir.
/usr is mounted read-only. This lead to issues when containers try to
write inside /opt/cni.
Update software to use /var/opt/cni instead.

The problematic symlink is created by the meta-lat component.
This commit can be reverted later if the meta-lat design is changed.

This is an enhancement to the following series:
https://review.opendev.org/c/starlingx/ansible-playbooks/+/825354
https://review.opendev.org/c/starlingx/integ/+/825346
https://review.opendev.org/c/starlingx/stx-puppet/+/825355
https://review.opendev.org/c/starlingx/integ/+/843965

Test on AIO-SX:
CentOS:
PASS: unlocked enabled available
Debian:
PASS: bootstrap without ostree unlock.
PASS: unlocked enabled available

Story: 2009101
Task: 44314
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
Change-Id: Id6ced63f913ed21954c379b031ae74683cd4d86f
2022-06-06 20:07:27 +03:00
..
files Enable bond-cni to build with golang 1.17 2022-04-11 14:21:24 -04:00
bond-cni.spec cni: use /var/opt/cni 2022-06-06 20:07:27 +03:00
build_srpm.data Enable bond-cni to build with golang 1.17 2022-04-11 14:21:24 -04:00