Project

General

Profile

Actions

Bug #12943

closed

VLAN templating only works if specified in the subnet, not in the interface

Added by Ashley Penney over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

When adding a new host you get the option of listing the VLAN tag. Unfortunately in the networking templates we see:

<% vlan = virtual && subnet.has_vlanid? -%

Which means that the VLAN id you enter is ignored and VLAN=yes does not get created.

I'm not sure if this is as simple a fix as subnet.has_vlanid? || interface.has_vlanid? but as it's taken me an hour to figure out what's going on I just wanted to mention it.


Related issues 1 (1 open0 closed)

Related to Foreman - Tracker #2409: NetworkingNew

Actions
Actions

Also available in: Atom PDF