Project

General

Profile

Actions

Bug #6335

closed

Host create requires environment-id etc options when --hostgroup is used

Added by Dominic Cleal over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman commands (obsolete)
Target version:
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

When using --hostgroup as opposed to --hostgroup-id, the host create validation says that certain additional arguments are required:

$ hammer host create --hostgroup libvirt --name hammer1
Could not create the host:
  Error: Options --environment-id, --architecture-id, --domain-id, --puppet-proxy-id, --operatingsystem-id, --partition-table-id are required

  See: 'hammer host create --help'
Actions

Also available in: Atom PDF