Fix rc.local for systemd in nodepool-base element

Having non-shebang first line (empty one) leads to error on Xenial,
because systemd can't execute scripts without shebang, and rc.local
is not run (`status=203/EXEC`).

Change-Id: Icc2f01b89e6d582ad015009f6916379bee8af7b9
This commit is contained in:
Alexander Evseev
2016-10-05 15:37:26 +03:00
parent 52eaa6d8ef
commit db77edfa0c

View File

@@ -37,7 +37,6 @@ chmod a+r /etc/unbound/forwarding.conf
# Overwrite /etc/resolv.conf at boot
dd of=/etc/rc.local <<EOF
#!/bin/bash
set -o xtrace