add preseed templating and purge node after removal