This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1128591 - [RFE] Allow clone hosts from CLI
Summary: [RFE] Allow clone hosts from CLI
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-08-11 07:27 UTC by Sergio G.
Modified: 2024-05-30 19:36 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2024-05-30 19:36:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 7044 0 Normal New Allow clone hosts from CLI 2020-07-07 05:31:05 UTC
Red Hat Issue Tracker   SAT-15093 0 None Migrated None 2024-05-30 19:36:31 UTC

Description Sergio G. 2014-08-11 07:27:40 UTC
Would it be great if Hammer could allow to clone hosts providing an existing host-id and new hostname, MAC address and IP address:

# hammer host clone --from-host-id ID --name NAME --ip IP --mac MAC

Comment 1 RHEL Program Management 2014-08-11 07:54:04 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2014-08-12 11:56:01 UTC
Created redmine issue http://projects.theforeman.org/issues/7044 from this bug

Comment 4 Og Maciel 2017-04-17 18:15:46 UTC
This is an older bug which I do not envision being addressed in the near term. I am closing this out. If you believe doing so is an issue, please feel free to re-open and provide additional business information. Thank you.

Comment 8 Marek Hulan 2024-02-13 09:20:56 UTC
We should definitely aim to get API+CLI and UI functionality on par. We tried to implement this in the past already, it turned to be more complicated than expected, because many values need to be adjusted (unlike in UI, one needs to reset IP or let DHCP to allocate new one etc). However it's still something we should resolve. We should consider reopening this.


Note You need to log in before you can comment on or make changes to this bug.