Comment 3 for bug 1427999

Revision history for this message
Martin Pitt (pitti) wrote : Re: cloud-init does not purge with systemd

Ah, I know now. cloud-init's prerm stops cloud-init-local.service, so if you are trying to purge cloud-init from user-data, stopping this will kill apt/dpkg/etc. I'll work around that in autopkgtest, but I wonder if we want to support that case in cloud-init itself. I'll have a closer look and prepare a patch.