diff options
-rwxr-xr-x | kvmx | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -126,7 +126,9 @@ function __kvmx_initialize { source $APP_BASE/kvmxfile || exit 1 # Set hostname - hostname="${hostname:-$VM}" + if [ "$hostname" == "kvmx" ] && [ "$VM" != "kvmx" ]; then + hostname="$VM" + fi # Set domain (this is already done with the default config) #domain="${domain:-example.org}" |