Skip to content

Commit

Permalink
fixed sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo77 committed Nov 15, 2016
1 parent e76493c commit 370833a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion post-puppet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ IP6PREFIX=2a03:2267:4e6f:7264
#sed s~"usr/share/nginx/www;"~"opt/www;"~g -i /etc/nginx/sites-enabled/default

#DNS Server
sed -i .bak "/eth0 inet static/a \ dns-search vpn$VPN_NUMBER.$DOMAIN" >>/etc/network/interfaces
sed -i .bak "/eth0 inet static/a \ dns-search vpn$VPN_NUMBER.$DOMAIN" /etc/network/interfaces

rm /etc/resolv.conf
cat >> /etc/resolv.conf <<-EOF
Expand Down

0 comments on commit 370833a

Please sign in to comment.