File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,14 +54,14 @@ elif [ "$MODULE_NAME" = 'wireguard' ]; then
5454 # sudo raises "unable to resolve host" error if host networking
5555 # is used for this container. Hence, hostname is added to
5656 # /etc/hosts here.
57- echo " 127.0.0.1 $( hostname) " >> /etc/hosts
57+ echo " 127.0.0.1 $( hostname) " >> /etc/hosts
5858 # The image is started with the root user. This sets the
5959 # environment variables only for the root user.
6060 # These environment variables are required when script is
6161 # executed by the "openwisp" user through cronjob, hence
6262 # the environment variables are saved in this file which
6363 # is loaded by the shell.
64- env >> /etc/environment
64+ env >> /etc/environment
6565 sudo -u openwisp -E bash -c " source utils.sh; wireguard_setup"
6666
6767elif [ " $MODULE_NAME " = ' wireguard_updater' ]; then
You can’t perform that action at this time.
0 commit comments