You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/adminguide/systemvm.rst
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -944,6 +944,46 @@ System VMs (any of the Console Proxy VM, Secondary Storage VM, Virtual Router or
944
944
945
945
Since CloudStack 4.16, for VMware, migration of System VMs can also be done to a destination host in a different cluster belonging to the same pod (in case of cluster-wide primary storage pools, this will cause the Root volume of the system VM to be migrated to the appropriate datastore in the new cluster). Storage migration of stopped System VMs is also supported.
946
946
947
+
Customizing System VMs
948
+
----------------------
949
+
950
+
CloudStack supports User Data for System VMs at boot time.
951
+
The default root administrator can supply initialization scripts or configuration to automate tasks
952
+
such as installing additional packages, setting environment variables, or configuring telemetry.
953
+
Ensure that the User Data is valid for cloud-init.
954
+
Invalid content may prevent a System VM from functioning correctly.
955
+
956
+
Initialization is performed by a CloudStack service, not by the systemd
957
+
cloud-init unit, to avoid conflicts with CloudStack System VM services.
958
+
959
+
.. warning::
960
+
User Data offers powerful customization, but inappropriate or intrusive scripts can
961
+
destabilize or break System VMs. Avoid modifying critical services or networking unless
962
+
you fully understand the impact, and always test changes in a non-production environment
963
+
before rollout.
964
+
965
+
To enable and configure User Data for System VMs:
966
+
967
+
#. Create a User Data entry under the default root administrator account.
968
+
#. Set the global setting ``systemvm.userdata.enabled`` to ``true``.
969
+
#. Provide the ID of the User Data per System VM type using the following global settings:
0 commit comments