Add `init.templatedir` configuration variable.