Bug 1655862
Summary: | Option to include username or custom settings in the blueprint | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ranjith Rajaram <rrajaram> |
Component: | cockpit-composer | Assignee: | Martin Pitt <mpitt> |
Status: | CLOSED ERRATA | QA Contact: | Release Test Team <release-test-team-automation> |
Severity: | medium | Docs Contact: | Eliane Ramos Pereira <elpereir> |
Priority: | unspecified | ||
Version: | 8.1 | CC: | elpereir, xiaofwan |
Target Milestone: | rc | Keywords: | Rebase |
Target Release: | 8.1 | Flags: | pm-rhel:
mirror+
|
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-11-05 20:43:35 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
Ranjith Rajaram
2018-12-04 06:19:55 UTC
It seems to be possible from command line. Below worked. Add [[customizations.user]] name = "admin" description = "Administrator account" password = "redhat" to an blueprint file and use the below command Example blueprint name = "rhel8testcustomusername" description = "test qcow2" version = "0.0.2" modules = [] groups = [] [[packages]] name = "findutils" version = "4.6.0" [[customizations.user]] name = "admin" description = "Administrator account" password = "redhat" Execute the command composer-cli blueprints push /root/blueprint.toml USe this blueprint to create custom images. final-kickstart.ks file will have user --name admin --plaintext --password "redhat" --gecos "Administrator account" You can now login to the VM created using the blueprint. Allowing images created via composer api server to be further customized using cloud-init would be a good thing. Is there any documentation in this regard ? This landed in upstream release 0.2.0. Verified on cockpit-composer-1-1.el8 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2019:3333 |