6.2. Creating a blueprint in the web console interface
Before creating your customized RHEL system image, you must create a blueprint. All customizations are optional.
Prerequisites
- You opened the RHEL image builder application from the web console in a browser. See Accessing RHEL image builder GUI in the RHEL web console.
Procedure
Click Create Blueprint in the upper-right corner.
The Images dialog box opens.
On the
Image outputpage, complete the following steps:-
Choose the
Releaseversion and theArchitecture. - Select the target environment or target environments.
- Click Next.
-
Choose the
Optional: On the
File system configurationpage, selectUse automatic partitioningorManually configure partitionsfor your image file system. To manually configure the partitions, complete the following steps:- Click the Manually configure partitions button.
From the dropdown menu, provide details to configure the partitions:
For the
Mount pointfield, select one of the following mount point type options:-
/app -
/boot -
/data -
/home -
/opt -
/srv -
/tmp -
/usr /varYou can also add an additional path to the
Mount point. For example, if you select/varas the mount point and add/tmpas an additional path, the result is/var/tmp. Depending on the mount point type you choose, the file system type changes toxfs.
-
For the
Minimum size partitionfield of the file system, enter the needed minimum partition size. In theMinimum sizedropdown menu, you can use common size units such asGB,MB, orKB. The default unit isGB.Minimum sizemeans that RHEL image builder can still increase the partition sizes if they are too small to create a working image.
To add more partitions, click the Add partition button. If you see the "Duplicate partitions: Only one partition at each mount point can be created." error message, you can fix it by performing one of the following actions:
- Click the Remove button to remove the duplicated partition.
- Choose a new mount point for the partition you want to create.
- After you finish the partitioning configuration, click Next.
Optional: On the
Additional packagespage, complete the following steps:-
In the
Available packagessearch, enter the package name. -
Click the button to move it to the
Chosen packagesfield. - Repeat the previous steps to search and include as many packages as you want.
- Click Next.
-
In the
Optional: On the
Userspage, add users:- Click Add user.
-
Enter a
Username, aPassword, and anSSH key. You can also mark the user as a privileged user by clicking theAdministratorcheckbox. - Click Next
Optional: On the
Timezonepage, set the time zone:On the
Timezonefield, enter the time zone you want to add to your system image. For example, add the following time zone format: "US/Eastern".If you do not set a time zone, the system uses Universal Time Coordinated (UTC) as the default.
-
Enter the
NTPservers. - Click Next.
Optional: On the
Localepage, complete the following steps:-
In the
Languagessearch field, enter the locale identifier you want to add to your system image. For example: "us". -
In the
Keyboardsearch field, enter the locale identifier you want to add to your system image. For example: ["en_US.UTF-8"]. - Click Next.
-
In the
-
Optional: On the
Hostnamepage, add a hostname, then click Next: Optional: On the
Kernelpage, complete the following steps:- Enter the kernel name.
- Add the kernel command-line arguments.
- Click Next.
Optional: On the
Firewallpage, complete the following steps:-
Enter the
portnumbers. - Add the firewall services you want to enable or disable.
- Click Next.
-
Enter the
Optional: On the
Systemd servicespage, add the services that you want to enable or disable:- Enter the service names you want to enable or disable, separating them with a comma, a space, or by pressing Enter.
- Click Next.
On the
Detailspage, complete the following steps:- Enter the name of the blueprint and, optionally, its description.
- Click Next.
On the
Reviewpage, review the blueprint details and choose one of the options from the dropdown menu:- Click Create blueprint.
Click Create blueprint and build image(s).
The RHEL image builder view opens, listing the existing blueprints.