aboutsummaryrefslogtreecommitdiff
path: root/kvmx-create
diff options
context:
space:
mode:
Diffstat (limited to 'kvmx-create')
-rwxr-xr-xkvmx-create2
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"