Skip to content

image-deploy-cleanup

Remove the image-deploy bootstrap material from the deployed system.

Runs on the deployed system once the DRP agent has joined and started.

It always removes the join-up bootstrap and control scripts left in the temporary directories by /curtin/drpcli-install.sh (or drpcli-install.bat), because those files carry machine tokens.

It also removes the /curtin (C:\curtin on Windows) directory unless image-deploy/cleanup-curtin is set to false.

ESXi deploys are skipped: their /curtin lives on the alternate bootbank and is still required after install.

Objects that Reference image-deploy-cleanup

Objects used by image-deploy-cleanup