From 40318307289909c12fe58c7a4b7117b09f7d9ee6 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Fri, 28 Aug 2015 12:10:50 +0200 Subject: [PATCH] update snippets/js-mode/host - one input field for each mac address bit. --- snippets/js-mode/host | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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 -- 2.47.3