<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-1x.git/interface-definitions/include/version/container-version.xml.i, branch mergify/bp/circinus/pr-3989</title>
<subtitle>VyOS command definitions, scripts, and utilities (mirror of https://github.com/vyos/vyos-1x.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-3989</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-1x.git/atom?h=mergify%2Fbp%2Fcircinus%2Fpr-3989'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/'/>
<updated>2024-04-06T19:07:59+00:00</updated>
<entry>
<title>container: T6208: rename "cap-add" CLI node to "capability"</title>
<updated>2024-04-06T19:07:59+00:00</updated>
<author>
<name>Christian Breunig</name>
<email>christian@breunig.cc</email>
</author>
<published>2024-04-06T19:06:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=b30faa43c28b592febd83a7fd3a58247de6b27bc'/>
<id>urn:sha1:b30faa43c28b592febd83a7fd3a58247de6b27bc</id>
<content type='text'>
Containers have the ability to add Linux system capabilities to them, this is
done using the "set container name &lt;name&gt; cap-add" command.

The CLI node sounds off and rather should be "set container name &lt;name&gt;
capability" instead as we use and pass a capability to a container and not
add/invent new ones.
</content>
</entry>
<entry>
<title>container: T4870: bump package version 0 -&gt; 1 for filesystem change</title>
<updated>2022-12-23T19:01:42+00:00</updated>
<author>
<name>Christian Poessinger</name>
<email>christian@poessinger.com</email>
</author>
<published>2022-12-23T17:40:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-1x.git/commit/?id=60c80df479c0798b8832b58b668d31fa6bfeeab8'/>
<id>urn:sha1:60c80df479c0798b8832b58b668d31fa6bfeeab8</id>
<content type='text'>
move from vfs to overlay driver

The following pre iage upgrade script must be executed to have containers after
the reboot:

for pod in $(cli-shell-api listActiveNodes container name); do
    systemctl stop vyos-container-${pod//\'}.service
done

sed -i 's/vfs/overlay/g' /etc/containers/storage.conf /usr/share/vyos/templates/container/storage.conf.j2
rm -rf /usr/lib/live/mount/persistence/container/storage/libpod

for pod in $(cli-shell-api listActiveNodes container name); do
    image=$(cli-shell-api returnActiveValue container name ${pod//\'} image)
    podman image pull $image
    systemctl start vyos-container-${pod//\'}.service
done

for dir in vfs vfs-containers vfs-images vfs-layers; do
    rm -rf /usr/lib/live/mount/persistence/container/storage/$dir
done
</content>
</entry>
</feed>
