name command is illegal illegal here

This commit is contained in:
webzwo0i 2017-03-02 02:31:08 +01:00
parent 3bc0f10631
commit a236e82cff
1 changed files with 0 additions and 2 deletions

View File

@ -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 %}