// GCE sets up a DNS server on the host, which we're supposed to use
// Also, GCE currently uses Ubuntu, which has a more complicated setup for resolv.conf
addChild(new LateBound<ManagedFilesystemItem>() {
@Override
protected ManagedFilesystemItem get() throws OpsException {
OpsTarget target = OpsContext.get().getInstance(OpsTarget.class);
AsBlock asBlock = AsBlock.find(target);
if (asBlock != AsBlock.GOOGLE_COMPUTE_ENGINE) {
return TemplatedFile.build(Injection.getInstance(DnsResolverModuleBuilder.class),
new File("/etc/resolv.conf")).setFileMode("644");