5.15. Enabling or disabling services
You can control which services to enable during boot time. Some image types already have services enabled or disabled to ensure that the image works correctly, and you cannot override this setup.
The [customizations.services] settings in the blueprint do not replace these services, even though they add the services to the list of services already present in the image templates.
Prerequisites
- You have created a blueprint.
Procedure
Customize which services to enable during boot time:
[customizations.services] enabled = ["services"] disabled = ["services"]For example:
[customizations.services] enabled = ["sshd", "cockpit.socket", "httpd"] disabled = ["postfix", "telnetd"]