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/+/825354https://review.opendev.org/c/starlingx/integ/+/825346https://review.opendev.org/c/starlingx/stx-puppet/+/825355https://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