Project

General

Profile

Actions

Bug #17723

open

Cannot modify/set interface parameters using hammer during provisioning

Added by Neil Hanlon over 7 years ago. Updated over 7 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Hammer CLI
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

XenServer (for some reason) doesn't like interfaces named anything but `eth#` for the primary interface name.. so I'm trying to modify it during provisioning. Unfortunately no matter how specific I am during the provision command, the interface doesn't change.

If it matters, the subnet uses DHCP proxy.

Example command:

hammer discovery provision --id 93 --hostgroup-id 12 --new-name <redacted> --build true --interface="primary=true,managed=true,provision=true,type=interface,identifier=eth0,subnet_id=19,domain_id=9,mac=<redacted>" 

Expected behavior: Interface identifier will be renamed to "eth0" from "em1"
Actual behavior: Interface is not renamed

Actions

Also available in: Atom PDF