aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2024-06-19 17:04:01 -0300
committerSilvio Rhatto <rhatto@riseup.net>2024-06-19 17:04:01 -0300
commitdaf9696753a3f15c5bd01077813b967f9c7d535a (patch)
tree1290059eee3a1bb81c202b11833b3c88fbfb017d
parent17932fee920857ef8c87c1116b95468886374cba (diff)
downloadkvmx-daf9696753a3f15c5bd01077813b967f9c7d535a.tar.gz
kvmx-daf9696753a3f15c5bd01077813b967f9c7d535a.tar.bz2
Fix: hostname: fallback to the guest name
-rwxr-xr-xkvmx4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmx b/kvmx
index 214f560..5e336a9 100755
--- a/kvmx
+++ b/kvmx
@@ -125,8 +125,8 @@ function __kvmx_initialize {
# Load the default config, providing defaults
source $APP_BASE/kvmxfile || exit 1
- # Set hostname (this is already done with the default config)
- #hostname="${hostname:-$VM}"
+ # Set hostname
+ hostname="${hostname:-$VM}"
# Set domain (this is already done with the default config)
#domain="${domain:-example.org}"