aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkvmx-create2
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"