diff options
author | Daniil Baturin <daniil@baturin.org> | 2018-05-16 06:41:40 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2018-05-16 06:41:40 +0200 |
commit | ea256dc7956a3fbe5947c0ad9da9e90dd2320327 (patch) | |
tree | a9faad8eccedf2030f6e23a69f8a4e41b4958eff /templates | |
parent | 413d89862ad9bea7d31200eb7a29bd0dd7fca214 (diff) | |
download | vyatta-cfg-system-ea256dc7956a3fbe5947c0ad9da9e90dd2320327.tar.gz vyatta-cfg-system-ea256dc7956a3fbe5947c0ad9da9e90dd2320327.zip |
T574: remove the old system host-name/domain-name commands, moving to vyos-1x.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/system/domain-name/node.def | 12 | ||||
-rw-r--r-- | templates/system/host-name/node.def | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/templates/system/domain-name/node.def b/templates/system/domain-name/node.def deleted file mode 100644 index 4866ddf8..00000000 --- a/templates/system/domain-name/node.def +++ /dev/null @@ -1,12 +0,0 @@ -priority: 400 -type: txt -help: System domain name - -# Allow letter-number-hyphen in label (but can not start or end with hyphen) -syntax:expression: exec "/opt/vyatta/sbin/vyatta_check_domainname.pl $VAR(../host-name).$VAR(@)" - -update: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl - sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-services - -delete: sudo /opt/vyatta/sbin/vyatta_update_resolv.pl - sudo /opt/vyatta/sbin/vyatta_update_hosts.pl --no-restart-services diff --git a/templates/system/host-name/node.def b/templates/system/host-name/node.def deleted file mode 100644 index 00798bef..00000000 --- a/templates/system/host-name/node.def +++ /dev/null @@ -1,12 +0,0 @@ -priority: 100 -type: txt -help: System host name (default: vyos) -default: "vyos" -syntax:expression: pattern $VAR(@) "^[[:alnum:]][-.[:alnum:]]*[[:alnum:]]$" - ; "invalid host name $VAR(@)" - -syntax:expression: pattern $VAR(@) "^.{1,63}$" ; "invalid host-name length" - -update: sudo /opt/vyatta/sbin/vyatta_update_hosts.pl - -delete: sudo /opt/vyatta/sbin/vyatta_update_hosts.pl |