[Satellite6] Unable to set subnet on secondary interfaces through hammer

Solution Unverified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.