Skip to content

Commit d6c781e

Browse files
authored
fix: random number
1 parent 150ef3a commit d6c781e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

startup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Password: vagrant
44
set -eou pipefail
55
# Replace environmental variable to Vagrandfile
6-
export RANDOM_STR=$$
6+
export RANDOM_STR=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)
77
envsubst < Vagrantfile > exported.txt && mv exported.txt Vagrantfile
88

99
chown root:kvm /dev/kvm

0 commit comments

Comments
 (0)