-

Sign up for a GitHub account Sign in All Gists colby / - Created October 29, 2014 Code Revisions 1 /.sunken-menu-group /.sunken-menu-contents Embed HTTPS SSH You can clone with HTTPS or SSH . Download Gist /.only-with-full-nav View - - Raw File suppressed. Click to show. 1 2 3 4 5 6 7 8 9 bash 'patch dhclient' do user 'root' code " rm /run/resolvconf/interface/eth0.dhclient echo 'prepend domain-name-servers #{node[:resolver][:nameservers][0]};' >> /etc/dhcp/dhclient.conf " not_if "grep #{node[:resolver][:nameservers][0]} /etc/dhcp/dhclient.conf" only_if { node[:hostname] != 'utility01' } end Sign up for free to join this conversation on GitHub . Already have an account? Sign in to comment /.discussion-timeline /.gist-conten...

Linked on 2014-10-29 22:52:03 | Similar Links