Skip to content

Instantly share code, notes, and snippets.

@sbates
Created June 2, 2013 20:01
Show Gist options
  • Save sbates/5694736 to your computer and use it in GitHub Desktop.
Save sbates/5694736 to your computer and use it in GitHub Desktop.
if (new_resource.use_host_dns)
lxc_fstab "resolv[#{new_resource.name}]" do
container new_resource.name
file_system '/etc/resolv.conf'
mount_point '/etc/resolv.conf'
type 'none'
options 'bind'
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment