From: Andreas Gerler Date: Fri, 28 Aug 2015 10:10:50 +0000 (+0200) Subject: update snippets/js-mode/host X-Git-Url: http://git.bundesbrandschatzamt.de/?a=commitdiff_plain;h=40318307289909c12fe58c7a4b7117b09f7d9ee6;p=emacsconfig.git update snippets/js-mode/host - one input field for each mac address bit. --- diff --git a/snippets/js-mode/host b/snippets/js-mode/host index b55d7468..af579643 100644 --- a/snippets/js-mode/host +++ b/snippets/js-mode/host @@ -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