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 all 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 informationInternet Settings
: default is “set automatically”Partitioning
: default is “set automatically”. You can modify the disk and swap size for the automatic set up, ask during install, or set upAdvanced Partitioning
(for several disks). For more information see Configuring Advanced Partitioning.Kernel Parameters
. You can add kernel parameters by clicking add and save.Keyboard
: default is “ask during installation”Licenses
: default is “accept licenses during installation”Time Zone
: default is “set automatically to London”Welcome Message
Services
: Firewall is set to “Off” by default. This parameter allows you to activate or deactivate the firewall present in the filesystem when launching the appliance (regardless of whether the firewall is iptables or other).
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
add
, next to the top 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 on
add
next to Group table at the bottom. 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
.