From: Silvio Rhatto Date: Tue, 4 Apr 2017 12:28:23 +0000 (-0300) Subject: Better default password X-Git-Tag: 0.1.0~461 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f104f8018b50ff0b4f1fd7de7c79a4f74e3574dc;p=kvmx.git Better default password --- diff --git a/kvmx-create b/kvmx-create index fdc3c7b..16349c0 100755 --- a/kvmx-create +++ b/kvmx-create @@ -103,6 +103,8 @@ function kvmx_config { source $GLOBAL_USER_CONFIG_FILE fi + local default_password="`head -c ${1:-20} /dev/urandom | base64`" + kvmx_user_config hostname machine "Hostname" kvmx_user_config domain example.org "Domain" kvmx_user_config arch amd64 "System arch"