i-27: Fixes failing molecule scenario #28

Merged
emil merged 2 commits from i-27-fix-failing-test into main 2024-08-18 22:28:05 +00:00
2 changed files with 9 additions and 6 deletions

View File

@ -132,13 +132,14 @@ choice.
2. [incus](https://linuxcontainers.org/incus/docs/main/) has been installed and initialised on this 2. [incus](https://linuxcontainers.org/incus/docs/main/) has been installed and initialised on this
machine, so that containers can be launched. It will effectively be used as machine, so that containers can be launched. It will effectively be used as
a container hypervisor. a container hypervisor.
3. Your user has been granted permissions to manage Linux containers. 3. Your user has been granted permissions to manage Linux containers, i.e. your user is a member of the group `incus-admin`.
4. Python 3 has been set up correctly on the machine. 4. [OpenSSH](https://www.openssh.com/) client and [sshpass](https://sourceforge.net/projects/sshpass/) have been installed on the local machine.
5. [Pipenv](https://github.com/pypa/pipenv) has been installed on the machine. 5. Python 3 has been set up correctly on the machine.
6. [git](https://git-scm.com/) has been installed on the machine. 6. [Pipenv](https://github.com/pypa/pipenv) has been installed on the machine.
7. [Task](https://github.com/go-task/task) has been installed and has been 7. [git](https://git-scm.com/) has been installed on the machine.
8. [Task](https://github.com/go-task/task) has been installed and has been
available in the `$PATH` environment variable for the current user. available in the `$PATH` environment variable for the current user.
8. [pigz](https://zlib.net/pigz/) has been installed. 9. [pigz](https://zlib.net/pigz/) has been installed.
### Initialize collection project locally ### Initialize collection project locally

View File

@ -28,3 +28,5 @@ tasks:
vars: vars:
LTE_IMAGE_NAME: LTE_IMAGE_NAME:
sh: cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1 sh: cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1
LTE_CONTAINER_ROOT_PWD:
sh: cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 16 | head -n 1