From b519ba1e41c58369428a8b74ffc2b313b6ecf054 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 11 Jul 2017 18:14:24 -0300 Subject: Use fixed 20 chars lenght for default_password --- kvmx-create | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kvmx-create b/kvmx-create index ee0393a..cb0f3c4 100755 --- a/kvmx-create +++ b/kvmx-create @@ -103,7 +103,7 @@ function kvmx_config { source $GLOBAL_USER_CONFIG_FILE fi - local default_password="`head -c ${1:-20} /dev/urandom | base64`" + local default_password="`head -c 20 /dev/urandom | base64`" kvmx_user_config hostname machine "Hostname" kvmx_user_config domain example.org "Domain" -- cgit v1.2.3