Note: This feature is available with bosh-release v255.4+ and on 3213+ stemcell series.
It’s typically unnecessary to have development tools installed on all VMs in a production environment. All stemcells come with a minimal set of development tools for compilation workers to successfully compile packages.
To see which files and directories will be removed from the stemcell on bootup, unpack stemcell tarball and view
To remove development tools from all non-compilation VMs:
Change deployment manifest for the Director:
properties: director: remove_dev_tools: true
bosh recreatefor your deployments.