diff options
author | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-21 10:52:40 -0800 |
---|---|---|
committer | Stephen Hemminger <stephen.hemminger@vyatta.com> | 2009-12-21 10:52:40 -0800 |
commit | d234dbf62a065de2b799f9b57c1b476c07a6bc17 (patch) | |
tree | 276dcc9e0854cb549e1f42ae29b6ee518c823e48 /templates/interfaces/loopback/node.def | |
parent | 7f58b680525bcf9a07f9f1e4c1a6fc4aa7815dae (diff) | |
download | vyatta-cfg-system-d234dbf62a065de2b799f9b57c1b476c07a6bc17.tar.gz vyatta-cfg-system-d234dbf62a065de2b799f9b57c1b476c07a6bc17.zip |
Move interface support from vyatta-cfg to vyatta-cfg-system
All the other interface types are in vyatta-cfg-system, only
loopback and ethernet were in vyatta-cfg
Diffstat (limited to 'templates/interfaces/loopback/node.def')
-rw-r--r-- | templates/interfaces/loopback/node.def | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/interfaces/loopback/node.def b/templates/interfaces/loopback/node.def new file mode 100644 index 00000000..64485e54 --- /dev/null +++ b/templates/interfaces/loopback/node.def @@ -0,0 +1,8 @@ +tag: +priority: 320 +type: txt +help: Set loopback interface +syntax:expression: exec \ + "/opt/vyatta/sbin/vyatta-interfaces.pl --dev=$VAR(@) --check=loopback" +allowed: /opt/vyatta/sbin/vyatta-interfaces.pl --show=loopback +create: sudo ip link set $VAR(@) up |