aboutsummaryrefslogtreecommitdiffstats
path: root/mcp/scripts/salt.sh
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-08 14:26:24 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-10-08 14:26:24 +0200
commitdb2144a7f6ed8586bbab39fdb5ea15b171388e85 (patch)
tree9573ea16aecaaa5d466be2020cce7a324f73a452 /mcp/scripts/salt.sh
parent6a5acbe71f8ffabe752e4cd791ecda9662f4fa0e (diff)
reclass: Revert virt.nic to hardcoded eth{0,1}
Salt's virtualization model for virt:nic:default does not use real interface names that are present on the node, but instead it defaults to using "ethX" notation, that name being only a convention inside Salt internals. Moreover, the 'salt.control.virt' reclass class (located in /srv/salt/reclass/classes/system/salt/control) already provides a defalt maping between "eth{0,1}" and "br{0,1}". Using anything different than "eth{0,1}" will lead to 2 extra (broken) mappings. Reverting the changes in "virt:nic" reclass fixes both the python exception recently introduced, as well as the broken defaults. Change-Id: I5c90e3d2bc181c1ad3d87af64440439e6a41fb28 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'mcp/scripts/salt.sh')
0 files changed, 0 insertions, 0 deletions