Files
runner-images/images/linux/scripts/installers/rndgenerator.sh
Vladimir Safonkin 7b3bfbdf61 [Ubuntu] Remove docs logic from Ubuntu provisioner (#1603)
* Remove docs logic on Ubuntu

* Cleanup templates

* Fix oras-cli.sh

* Remove announcements.md
2020-09-17 14:15:31 +03:00

19 lines
585 B
Bash

#!/bin/bash
################################################################################
## File: rndgenerator.sh
## Desc: Install random number generator
################################################################################
# Install haveged
apt-get -y install haveged
# Run tests to determine that the software installed as expected
echo "Testing to make sure that script performed as expected, and basic scenarios work"
for cmd in haveged; do
if ! command -v $cmd; then
echo "$cmd was not installed or not found on PATH"
exit 1
fi
done