From: Silvio Rhatto Date: Tue, 11 Jul 2017 21:14:24 +0000 (-0300) Subject: Use fixed 20 chars lenght for default_password X-Git-Tag: 0.1.0~416 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b519ba1e41c58369428a8b74ffc2b313b6ecf054;p=kvmx.git Use fixed 20 chars lenght for default_password --- 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"