Added explicit deletion of default route when network is restarted in OpenBSD.
This commit is contained in:
parent
d5df1b9692
commit
9ec1334414
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ class network::helper::restart {
|
||||||
}
|
}
|
||||||
openbsd: {
|
openbsd: {
|
||||||
exec { "restart-network":
|
exec { "restart-network":
|
||||||
command => "/bin/sh /etc/netstart",
|
command => "/sbin/route delete default ; /bin/sh /etc/netstart",
|
||||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue