cloudstack/test
Vishesh d2615bb142
Add support for providing userdata to system VMs (#11654)
This PR adds support for specifying user data (cloud-init) for system VMs via Zone Scoped global settings. This allows the operators to customize the System VMs and setup monitoring, logging or execute any custom commands.

We set the user data from the global setting in /var/cache/cloud/cmdline, and use the NoCloud datasource to process user data. cloud-init service is still disabled in the system VMs and it's executed as part of the cloud-postinit service which executes the postinit.sh script.

Added global settings:
systemvm.userdata.enabled - Disabled by default. Needs to be enabled to utilize the feature.
console.proxy.vm.userdata - UUID of the User data to be used for Console Proxy
secstorage.vm.userdata - UUID of the User data to be used for Secondary Storage VM
virtual.router.userdata - UUID of the User data to be used for Virtual Routers
2025-10-08 10:44:26 +05:30
..
bindirbak pre-commit: add hook to trim trailing whitespace (#8205) 2024-05-28 09:01:30 +02:00
conf pre-commit fix mixed line endings in XML files (#10148) 2025-01-03 09:42:09 +01:00
integration Add support for providing userdata to system VMs (#11654) 2025-10-08 10:44:26 +05:30
metadata pre-commit fix mixed line endings in XML files (#10148) 2025-01-03 09:42:09 +01:00
scripts pre-commit: remove trailing-whitespace from more file types (#10131) 2024-12-31 14:55:24 +05:30
systemvm Remove unneeded duplicate words (#7850) 2023-09-18 13:16:33 +02:00
pom.xml Updating pom.xml version numbers for release 4.22.0.0-SNAPSHOT 2025-08-28 12:00:42 +05:30