Chapter 2. Installing Image Builder
Before using Image Builder, you must install Image Builder in a virtual machine.
2.1. Installing Image Builder in a virtual machine
To install Image Builder on a dedicated virtual machine, follow these steps:
- Connect to the virtual machine.
- The virtual machine for Image Builder must be installed, subscribed, and running.
Install the Image Builder and other necessary packages on the virtual machine:
# yum install lorax-composer composer-cli cockpit-composer bash-completion
The web console is installed as a dependency of the cockpit-composer package.
Enable Image Builder to start after each reboot:
# systemctl enable lorax-composer.socket # systemctl enable cockpit.socket
cockpitservices start automatically on first access.
Configure the system firewall to allow access to the web console:
# firewall-cmd --add-service=cockpit && firewall-cmd --add-service=cockpit --permanent
Load the shell configuration script so that the autocomplete feature for the
composer-clicommand starts working immediately without reboot:
$ source /etc/bash_completion.d/composer-cli