Skip to content

Commit 6ba762e

Browse files
note: trim on hostname for autoscale instances (#575)
* note: trim on hostname for autoscale instances Related apache/cloudstack#11327 Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> * Update source/adminguide/autoscale_with_virtual_router.rst Co-authored-by: Wei Zhou <weizhou@apache.org> * Update source/adminguide/autoscale_with_virtual_router.rst Co-authored-by: Wei Zhou <weizhou@apache.org> --------- Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com> Co-authored-by: Wei Zhou <weizhou@apache.org>
1 parent 463be39 commit 6ba762e

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

source/adminguide/autoscale_with_virtual_router.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,21 @@ Specify the following:
176176
<virtual_machines.html#user-data-and-metadata>`_.
177177

178178

179+
.. note::
180+
Hostnames for instances in an AutoScale Instance Group are automatically
181+
generated from the group name and sanitized to meet the OS hostname rules
182+
of the template. If the generated name exceeds the allowed limit,
183+
it will be trimmed to fit within the limit. The limits are:
184+
185+
- **Windows templates:** 15 characters (NetBIOS limit). The hostname follows the format `as-WinVM-<6 random letters>`.
186+
- **Other OS templates:** 63 characters. Unsupported characters may be normalized
187+
(for example, lower-cased or replaced) to comply with OS constraints.
188+
189+
Unsupported characters may be normalized (for example, lower-cased or
190+
replaced) to comply with OS constraints.
191+
192+
193+
179194
AutoScale Policies
180195
-------------------------------------------------
181196

0 commit comments

Comments
 (0)