gcp: Add host route for gateway during initialisation

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
Michael Tremer
2020-06-12 16:05:00 +00:00
parent 45a2dcd09a
commit b6a5888105

View File

@@ -250,6 +250,7 @@ case "${reason}" in
ip addr add "${new_ip_address}/${new_subnet_mask}" dev "${interface}"
# Add the default route
ip route add "${new_routers}" dev "${interface}"
ip route add default via "${new_routers}"
# Setup DNS