Switch to the latest stable Ubuntu for the functional tests.
Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com>
Reviewed-by: Kamalesh Babulal <kamalesh.babulal@oracle.com>
(cherry picked from commit
45f37aedda04d2ab4679eb667aef49e2d3c2328f)
DEFAULT_CONTAINER_NAME = 'TestLibcg'
DEFAULT_CONTAINER_DISTRO = 'ubuntu'
-DEFAULT_CONTAINER_RELEASE = '18.04'
+DEFAULT_CONTAINER_RELEASE = '22.04'
DEFAULT_CONTAINER_ARCH = 'amd64'
DEFAULT_CONTAINER_STOP_TIMEOUT = 5
config.container.config()
config.container.start()
- # LXC on Ubuntu 20.04 put sed in a different spot. Add a symlink
- config.container.run(['ln', '-s', '/bin/sed', '/usr/bin/sed'])
-
# add the libcgroup library to the container's ld
echo_cmd = ['bash', '-c', 'echo {} >> /etc/ld.so.conf.d/libcgroup.conf'.format(
os.path.join(consts.LIBCG_MOUNT_POINT, 'src/.libs'))]