You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by we...@apache.org on 2026/09/01 12:08:08 UTC
(cloudstack-documentation) branch main updated: note: trim on hostname for autoscale instances (#575)
This is an automated email from the ASF dual-hosted git repository.
weizhouapache pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack-documentation.git
The following commit(s) were added to refs/heads/main by this push:
new 6ba762ef note: trim on hostname for autoscale instances (#575)
6ba762ef is described below
commit 6ba762eff6d3150ee5867f76139ee70094ec66d4
Author: Abhishek Kumar <ab...@gmail.com>
AuthorDate: Tue Sep 1 17:38:03 2026 +0530
note: trim on hostname for autoscale instances (#575)
* note: trim on hostname for autoscale instances
Related https://github.com/apache/cloudstack/pull/11327
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
* Update source/adminguide/autoscale_with_virtual_router.rst
Co-authored-by: Wei Zhou <we...@apache.org>
* Update source/adminguide/autoscale_with_virtual_router.rst
Co-authored-by: Wei Zhou <we...@apache.org>
---------
Signed-off-by: Abhishek Kumar <ab...@gmail.com>
Co-authored-by: Wei Zhou <we...@apache.org>
---
source/adminguide/autoscale_with_virtual_router.rst | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/source/adminguide/autoscale_with_virtual_router.rst b/source/adminguide/autoscale_with_virtual_router.rst
index 3fa8a965..4f25e07b 100644
--- a/source/adminguide/autoscale_with_virtual_router.rst
+++ b/source/adminguide/autoscale_with_virtual_router.rst
@@ -176,6 +176,21 @@ Specify the following:
<virtual_machines.html#user-data-and-metadata>`_.
+.. note::
+ Hostnames for instances in an AutoScale Instance Group are automatically
+ generated from the group name and sanitized to meet the OS hostname rules
+ of the template. If the generated name exceeds the allowed limit,
+ it will be trimmed to fit within the limit. The limits are:
+
+ - **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format `as-WinVM-<6 random letters>`.
+ - **Other OS templates:** 63 characters. Unsupported characters may be normalized
+ (for example, lower-cased or replaced) to comply with OS constraints.
+
+ Unsupported characters may be normalized (for example, lower-cased or
+ replaced) to comply with OS constraints.
+
+
+
AutoScale Policies
-------------------------------------------------