Change 00base to a template. Add 'chain_hostnames' option as well as an
array of hashes named global_opts for additional global options to set.