Bug 1128591

Summary: [RFE] Allow clone hosts from CLI
Product: Red Hat Satellite Reporter: Sergio G. <sgarciam>
Component: HammerAssignee: satellite6-bugs <satellite6-bugs>
Status: NEW --- QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: high    
Version: UnspecifiedCC: ahuchcha, ahumbe, ajambhul, arsingh, bkearney, dcleal, omaciel, saydas
Target Milestone: UnspecifiedKeywords: FutureFeature, PrioBumpGSS, Reopened, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/7044
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-17 18:15:46 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.