[Satellite6] Unable to set subnet on secondary interfaces through hammer
Issue
- Unable to set subnet on secondary interfaces through hammer command.
- What parameters I have to use in hammer command to add a secondary interface with subnet and domain?
# hammer host create --ask-root-password false --hostgroup "HOSTGROUP1" --subnet "255.255.255.0" --ip "192.168.1.10" --mac 55:55:55:55:55:55 --name "test" --root-password ${ROOT_PWD} --interface="primary=false,mac=ab:cd:ef:12:34:56,domain_id=1,subnet_id=9"
Environment
- Red Hat Enterprise Linux
- Red Hat Satellite 6.0.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.