Commit dc996278 authored by Joshua Tauberer's avatar Joshua Tauberer

nsd doesn't install without creating the `nsd` user first - merge branch from...

nsd doesn't install without creating the `nsd` user first - merge branch from randallsquared-master, fixes #25
parents 0be47c41 1c02803b
...@@ -9,6 +9,17 @@ ...@@ -9,6 +9,17 @@
# Install nsd, our DNS server software. # Install nsd, our DNS server software.
# ...but first, we have to create the user because the
# current Ubuntu forgets to do so in the .deb
# see issue #25 and https://bugs.launchpad.net/ubuntu/+source/nsd/+bug/1311886
if id nsd > /dev/null 2>&1; then
true; #echo "nsd user exists... good";
else
useradd nsd;
fi
# Okay now install the package.
apt-get -qq -y install nsd apt-get -qq -y install nsd
# Prepare nsd's configuration. # Prepare nsd's configuration.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment