diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-07-11 18:14:24 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-07-11 18:14:24 -0300 |
commit | b519ba1e41c58369428a8b74ffc2b313b6ecf054 (patch) | |
tree | e09f16f9a78c1ca4ca407a66025c4c255e71a3d6 /kvmx-create | |
parent | 7927f9a1e5c4c77cf4d25721827d09620aa37534 (diff) | |
download | kvmx-b519ba1e41c58369428a8b74ffc2b313b6ecf054.tar.gz kvmx-b519ba1e41c58369428a8b74ffc2b313b6ecf054.tar.bz2 |
Use fixed 20 chars lenght for default_password
Diffstat (limited to 'kvmx-create')
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 1 insertions, 1 deletions
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" |