Move cloud-init installation to terminate.ps1