Skip to content

Commit

Permalink
change interface before startup
Browse files Browse the repository at this point in the history
  • Loading branch information
enoch85 committed Jun 7, 2016
1 parent 161462d commit cc8ad45
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions production/owncloud-startup-script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ UNIXPASS=owncloud
exit 1
fi

# Set correct interface
sed -i "s|ens33|$IFACE|g" /etc/network/interfaces
service networking restart

# Check network
echo "Testing if network is OK..."
sleep 2
Expand Down

0 comments on commit cc8ad45

Please sign in to comment.