From a236e82cffcbfb382a8be1e99340b8f20e4b5b8a Mon Sep 17 00:00:00 2001 From: webzwo0i Date: Thu, 2 Mar 2017 02:31:08 +0100 Subject: [PATCH] name command is illegal illegal here --- salt/switches/3com-4200G.expect | 2 -- 1 file changed, 2 deletions(-) diff --git a/salt/switches/3com-4200G.expect b/salt/switches/3com-4200G.expect index efcb41d..f1e22c1 100644 --- a/salt/switches/3com-4200G.expect +++ b/salt/switches/3com-4200G.expect @@ -40,8 +40,6 @@ expect -- "-vlan{{ vlan }}]" {# Actually only used for mgmt_vlan, switches are not routers #} send "interface Vlan-interface {{ vlan }}\r" expect "]" -send "name {{ name }}\r" -expect "]" {%- set net_hosts = pillar['hosts-inet'].get(name) %} {%- set ipaddr = net_hosts and net_hosts.get(hostname) %} {%- if ipaddr %}