17 lines
323 B
Plaintext
17 lines
323 B
Plaintext
description "Enabling Quantum external networking port"
|
|
|
|
start on runlevel [2345]
|
|
|
|
task
|
|
|
|
script
|
|
EXT_PORT="{{ ext_port }}"
|
|
MTU="{{ ext_port_mtu }}"
|
|
if [ -n "$EXT_PORT" ]; then
|
|
ip link set $EXT_PORT up
|
|
if [ -n "$MTU" ]; then
|
|
ip link set $EXT_PORT mtu $MTU
|
|
fi
|
|
fi
|
|
end script
|