diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 09:28:23 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-04-04 09:28:23 -0300 |
commit | f104f8018b50ff0b4f1fd7de7c79a4f74e3574dc (patch) | |
tree | f29f6b3958887a1423bbceeeda6a8994cb9d7c55 | |
parent | de8acc854e213feb42acd46eb3c302f13b988a7f (diff) | |
download | kvmx-f104f8018b50ff0b4f1fd7de7c79a4f74e3574dc.tar.gz kvmx-f104f8018b50ff0b4f1fd7de7c79a4f74e3574dc.tar.bz2 |
Better default password
-rwxr-xr-x | kvmx-create | 2 |
1 files changed, 2 insertions, 0 deletions
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" |