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 <[email protected]>
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 <[email protected]>
    
    * Update source/adminguide/autoscale_with_virtual_router.rst
    
    Co-authored-by: Wei Zhou <[email protected]>
    
    * Update source/adminguide/autoscale_with_virtual_router.rst
    
    Co-authored-by: Wei Zhou <[email protected]>
    
    ---------
    
    Signed-off-by: Abhishek Kumar <[email protected]>
    Co-authored-by: Wei Zhou <[email protected]>
---
 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
 -------------------------------------------------
 

Reply via email to