diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-08-25 20:19:04 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-08-25 20:19:04 +0200 |
commit | 7f5df3ea03fe410f781478aeffc201537756b040 (patch) | |
tree | dfcf9ac77e832e1bc68ea7f8aeb50fbea092dcec /templates/interfaces/loopback | |
parent | ff172c743e5d732cad083c075c79485849913b4d (diff) | |
download | vyatta-cfg-system-7f5df3ea03fe410f781478aeffc201537756b040.tar.gz vyatta-cfg-system-7f5df3ea03fe410f781478aeffc201537756b040.zip |
T797: add sudo to ip command calls in other interface types.
Diffstat (limited to 'templates/interfaces/loopback')
-rw-r--r-- | templates/interfaces/loopback/node.def | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def index 6e4e2002..69778aad 100644 --- a/templates/interfaces/loopback/node.def +++ b/templates/interfaces/loopback/node.def @@ -8,4 +8,4 @@ val_help: lo: Loopback interface name syntax:expression: exec \ "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=loopback" allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=loopback -create: ip link set $VAR(@) up +create: sudo ip link set $VAR(@) up |