Updating the Install Profile¶
The Install Profile
on the Stack
page allows you to customize the questions asked when the image is booted for the very first time (or during installation for an ISO image). The install profile is mandatory.
You can define the following as part of the install profile:
Root User
: The root user password by default is prompted during the first boot of the machine image i.e.ask during installation
. However, you can pre-set a root password. You can enter an SSH key to allow users to login as root. If you selectDisable root password login via SSH
, root will still be able to login from the console.Users and Groups
(optional): you can add operating system users and groups. See Adding Users and Groups for more informationNetwork
: You can set the internet settings. The default isset automatically
.Security
: You can activate or deactivate the firewall present in the filesystem when launching the appliance (regardless of whether the firewall is iptables or other). Firewall is set toOff
by default. You can also set the SELinux configuration here.Partitioning
: You can modify the disk and swap size for the automatic set up, selectask during install
, or set upAdvanced Partitioning
(for several disks). For more information see Configuring Advanced Partitioning.Kernel
. You can add kernel parameters by clicking plus, entering data and clicksave
.Keyboard
: default isask during installation
. You can chooseset automatically
and select the keyboard from the drop down menu.Licenses
: default isaccept licenses during installation
.Time Zone
: default isset automatically to London
.Welcome Message
: You can enter a welcome message.
Note
For basic partitioning disk size, you must ensure that the disk is large enough to store all the binaries and files for the appliance template. For windows based operating systems, it is advised to have a disk size of at least 14GB
for core versions, and at least 20GB
for full versions.
Adding Users and Groups¶
You can add operating system users and groups to the appliance Install Profile. These will be integrated to the appliance template.
Warning
The users and groups created in UForge are not linked. If you create a user and list it as part of a specific group, you must then also create the group; otherwise the image generation will fail.
To add a user to an appliance:
Select the appliance template you want to modify.
From the
Stack
page, click onInstall Profile
in the toolbox.Select
Users and Groups
.Click the plus symbol next to the
Users
table. TheCreate User
page will be displayed.Enter a user name.
If you want to manually enter the user ID, deselect
set the user id automatically
and enter the ID number.If you want to manually create the primary group the user is part of, deselect
automatically create primary group for user
and enter the group name.Click
create
Warning
If you create a user and list it as part of a specific group, you must then also create the group; otherwise the image generation will fail.
To add a group to an appliance install profile:
Select the appliance template you want to modify.
From the
Stack
page, click onInstall Profile
in the toolbox.Select
Users and Groups
.Click the plus symbol next to the
Groups
table. TheCreate Group
page will be displayed.Enter a group name.
Check if you want this group to be a system group.
If you want to manually enter the group ID, deselect
Set the group id automatically
and enter the group ID number.Click
create
.