When using image-based provisioning via hammer, the subnet is not inherited from the hostgroup
1. configure image-based provisioning with dhcp integration
2. try co provision a host via hammer
bundle exec bin/hammer host create --hostgroup=base --compute-resource=libvirt --name test-9 --compute-attributes="start=1" --provision-method image
3. An error is produced:
Could not create the host: Ip can't be blank
Expected behaviour: the subnet from the hostgroup is used by default
Workaround: specify the subnet explicitly
Fixes #13984 - inherit subnet from hostgroup even for image-based provisioning
#7 Updated by Guido Günther over 3 years ago
Guido Günther wrote:
Ivan Necas wrote:
Applied in changeset 17f4ee612bf1308cb51d4644bdd76ba7dc73eea7.
Could this be fixed on 1.10.x as well? We won't be able to update to 1.11.x in not time so this would be awesome. I'm currently using the original PR to fix this.
...ahh wrong but having this fixed on 1.10.x would be awesome as well.