2.20.6. hammer discovery provision
Provision a discovered host
Usage: hammer discovery provision [OPTIONS] Options: --architecture ARCHITECTURE_NAME Architecture name --architecture-id ARCHITECTURE_ID --ask-root-password ASK_ROOT_PW One of true/false, yes/no, 1/0. --build BUILD One of true/false, yes/no, 1/0. --capabilities CAPABILITIES --domain DOMAIN_NAME Domain name --domain-id DOMAIN_ID --enabled ENABLED One of true/false, yes/no, 1/0. --environment ENVIRONMENT_NAME Environment name (--environment is deprecated: Use --puppet-environment[-id] instead) --environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --puppet-environment[-id] instead) --hostgroup HOSTGROUP_NAME Hostgroup name --hostgroup-id HOSTGROUP_ID --hostgroup-title HOSTGROUP_TITLE Hostgroup title --id ID --image IMAGE_NAME Name to search by --image-id IMAGE_ID --interface INTERFACE Interface parameters Comma-separated list of key=value. JSON is acceptable and preferred way for complex parameters Can be specified multiple times. --ip IP Not required if using a subnet with DHCP Capsule --location LOCATION_NAME Set the current location context for the request --location-id LOCATION_ID Set the current location context for the request --location-title LOCATION_TITLE Set the current location context for the request --mac MAC Not required if it's a virtual machine --managed MANAGED One of true/false, yes/no, 1/0. --medium MEDIUM_NAME Medium name --medium-id MEDIUM_ID --model MODEL_NAME Model name --model-id MODEL_ID --name NAME Name to search by --new-name NEW_NAME --operatingsystem OPERATINGSYSTEM_TITLE Operating system title --operatingsystem-id OPERATINGSYSTEM_ID --organization ORGANIZATION_NAME Set the current organization context for the request --organization-id ORGANIZATION_ID Set the current organization context for the request --organization-title ORGANIZATION_TITLE Set the current organization context for the request --overwrite OVERWRITE One of true/false, yes/no, 1/0. --owner-id OWNER_ID --parameters PARAMS Host parameters Comma-separated list of key=value. JSON is acceptable and preferred way for complex parameters --partition-table PARTITION_TABLE_NAME Partition table name --partition-table-id PARTITION_TABLE_ID --progress-report-id PROGRESS_REPORT_ID UUID to track orchestration tasks status, GET /api/orchestration/:UUID/tasks --provision-method METHOD Possible value(s): 'build', 'image' --puppet-ca-proxy-id PUPPET_CA_PROXY_ID --puppet-environment PUPPET_ENVIRONMENT_NAME Puppet environment name --puppet-environment-id PUPPET_ENVIRONMENT_ID --puppet-proxy-id PUPPET_PROXY_ID --puppetclass-ids PUPPETCLASS_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash. JSON is acceptable and preferred way for complex parameters --pxe-loader PXE_LOADER DHCP filename option (Grub2 or PXELinux by default) Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI' --root-password ROOT_PW --sp-subnet-id SP_SUBNET_ID --subnet SUBNET_NAME Subnet name --subnet-id SUBNET_ID -h, --help Print help
Usage:
hammer discovery provision [OPTIONS]
Options:
--architecture ARCHITECTURE_NAME Architecture name
--architecture-id ARCHITECTURE_ID
--ask-root-password ASK_ROOT_PW One of true/false, yes/no, 1/0.
--build BUILD One of true/false, yes/no, 1/0.
--capabilities CAPABILITIES
--domain DOMAIN_NAME Domain name
--domain-id DOMAIN_ID
--enabled ENABLED One of true/false, yes/no, 1/0.
--environment ENVIRONMENT_NAME Environment name (--environment is deprecated: Use --puppet-environment[-id] instead)
--environment-id ENVIRONMENT_ID (--environment-id is deprecated: Use --puppet-environment[-id] instead)
--hostgroup HOSTGROUP_NAME Hostgroup name
--hostgroup-id HOSTGROUP_ID
--hostgroup-title HOSTGROUP_TITLE Hostgroup title
--id ID
--image IMAGE_NAME Name to search by
--image-id IMAGE_ID
--interface INTERFACE Interface parameters
Comma-separated list of key=value.
JSON is acceptable and preferred way for complex parameters
Can be specified multiple times.
--ip IP Not required if using a subnet with DHCP Capsule
--location LOCATION_NAME Set the current location context for the request
--location-id LOCATION_ID Set the current location context for the request
--location-title LOCATION_TITLE Set the current location context for the request
--mac MAC Not required if it's a virtual machine
--managed MANAGED One of true/false, yes/no, 1/0.
--medium MEDIUM_NAME Medium name
--medium-id MEDIUM_ID
--model MODEL_NAME Model name
--model-id MODEL_ID
--name NAME Name to search by
--new-name NEW_NAME
--operatingsystem OPERATINGSYSTEM_TITLE Operating system title
--operatingsystem-id OPERATINGSYSTEM_ID
--organization ORGANIZATION_NAME Set the current organization context for the request
--organization-id ORGANIZATION_ID Set the current organization context for the request
--organization-title ORGANIZATION_TITLE Set the current organization context for the request
--overwrite OVERWRITE One of true/false, yes/no, 1/0.
--owner-id OWNER_ID
--parameters PARAMS Host parameters
Comma-separated list of key=value.
JSON is acceptable and preferred way for complex parameters
--partition-table PARTITION_TABLE_NAME Partition table name
--partition-table-id PARTITION_TABLE_ID
--progress-report-id PROGRESS_REPORT_ID UUID to track orchestration tasks status, GET
/api/orchestration/:UUID/tasks
--provision-method METHOD Possible value(s): 'build', 'image'
--puppet-ca-proxy-id PUPPET_CA_PROXY_ID
--puppet-environment PUPPET_ENVIRONMENT_NAME Puppet environment name
--puppet-environment-id PUPPET_ENVIRONMENT_ID
--puppet-proxy-id PUPPET_PROXY_ID
--puppetclass-ids PUPPETCLASS_IDS Comma separated list of values. Values containing comma should be quoted or escaped with backslash.
JSON is acceptable and preferred way for complex parameters
--pxe-loader PXE_LOADER DHCP filename option (Grub2 or PXELinux by default)
Possible value(s): 'None', 'PXELinux BIOS', 'PXELinux UEFI', 'Grub UEFI', 'Grub2 BIOS', 'Grub2 ELF', 'Grub2 UEFI', 'Grub2 UEFI SecureBoot', 'Grub2 UEFI HTTP', 'Grub2 UEFI HTTPS', 'Grub2 UEFI HTTPS SecureBoot', 'iPXE Embedded', 'iPXE UEFI HTTP', 'iPXE Chain BIOS', 'iPXE Chain UEFI'
--root-password ROOT_PW
--sp-subnet-id SP_SUBNET_ID
--subnet SUBNET_NAME Subnet name
--subnet-id SUBNET_ID
-h, --help Print help