mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
Always create interface inside container (#1042)
This commit is contained in:
@@ -12,10 +12,7 @@
|
||||
|
||||
setup_interface()
|
||||
{
|
||||
ip link show dev ${WIREGUARD_INTERFACE_NAME}
|
||||
if [ $? -ne 0 ]; then
|
||||
ip link add ${WIREGUARD_INTERFACE_NAME} type wireguard
|
||||
fi
|
||||
ip link add ${WIREGUARD_INTERFACE_NAME} type wireguard
|
||||
|
||||
if [ $WIREGUARD_IPV4_ENABLED = "true" ]; then
|
||||
ip address replace ${WIREGUARD_IPV4_ADDRESS} dev ${WIREGUARD_INTERFACE_NAME}
|
||||
|
||||
Reference in New Issue
Block a user