From: Vladimir Khlyunev Date: Mon, 18 Mar 2019 07:16:16 +0000 (+0400) Subject: Use /dev/urandom for stack name generation X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=5f6d8b9d97e6b2b947c12b33a3358ee0f299cc06;p=tools%2Fsustaining.git Use /dev/urandom for stack name generation Change-Id: I82deb23f1e263b6d4f5ee2c30026b169ccf794dc --- diff --git a/maintenance-ci/common/scripts/deploy_heat_stack.sh b/maintenance-ci/common/scripts/deploy_heat_stack.sh index c761d8f..eb3b336 100755 --- a/maintenance-ci/common/scripts/deploy_heat_stack.sh +++ b/maintenance-ci/common/scripts/deploy_heat_stack.sh @@ -35,7 +35,7 @@ else md5_cmd="md5" fi -STACK_NAME="${STACK_PREFIX:-swarm_slave}_$(head -c 100 /dev/random | "${md5_cmd}" | head -c 4)" +STACK_NAME="${STACK_PREFIX:-swarm_slave}_$(head -c 100 /dev/urandom | "${md5_cmd}" | head -c 4)" set +x source "${OPENSTACK_CLIENTS_VENV}"/bin/activate