]> git.bundesbrandschatzamt.de Git - emacsconfig.git/commitdiff
update snippets/js-mode/host
authorAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 28 Aug 2015 10:10:50 +0000 (12:10 +0200)
committerAndreas Gerler <baronNOSPAMbundesbrandschatzamt.de>
Fri, 28 Aug 2015 10:10:50 +0000 (12:10 +0200)
- one input field for each mac address bit.

snippets/js-mode/host

index b55d7468a5726d6e6759f0c4c4704ad7f15491f8..af57964353756ca513b18fb686efc3c0635ad26d 100644 (file)
@@ -7,14 +7,14 @@
     "fqdn": "$1",
     "network": {
        "${2:eth0}": {
-           "mac": "${3:42:42:42:42:42:42$(upcase yas-text)}",
-           "ip": "$4",
-           "netmask": "${5:255.255.255.0}"
+           "mac": "${3:42$(upcase yas-text)}:${4:42$(upcase yas-text)}:${5:42$(upcase yas-text)}:${6:42$(upcase yas-text)}:${7:42$(upcase yas-text)}:${8:42$(upcase yas-text)}",
+           "ip": "$9",
+           "netmask": "${10:255.255.255.0}"
        },
-       "server_os": "${6:OREL V6 STANDARD}",
+       "server_os": "${11:OREL V6 STANDARD}",
        "nagios": {
-           "site": "${7:monitoring host}",
-           "hosttemplate": "${8:generic-linux}"
+           "site": "${12:monitoring host}",
+           "hosttemplate": "${13:generic-linux}"
        }
     }
 }$0