Yomi Formula
The Yomi (yet one more installer) installer for SUSE and openSUSE operating systems is configured using formulas with forms.
The yomi-formula
package provides these formulas:
-
Yomi
-
Yomi Storage
-
Yomi Bootloader
-
Yomi Software
-
Yomi Services
-
Yomi Users
-
On the SUSE Manager Server, at the command prompt, as root, install the
yomi-formula
package:zypper in yomi-formula
-
Restart services:
systemctl restart salt-master.service
When the formula package is installed, you need to install the PXE Yomi image on the client, boot the client you want to provision, and enable the Yomi formulas on the client. For more information on preparing Yomi clients for provisioning, see Install Using Yomi.
-
Navigate to the
tab, and set these parameters in theGeneral Configuration
section:-
Check the
Events
box to allow monitoring. -
In the
Reboot
field, selectyes
to instruct the client to reboot after installation. -
Check the
Snapper
box if you are using the btrfs file system on the client. -
In the
Locale
field, select the region and encoding for systemd to use on the client. For example:en_US.utf8
for US English and UTF-8. -
In the
Keymap
field, select the appropriate keyboard layout. For example:us
for a US keyboard layout. -
In the
Timezone
field, select the timezone for the client to use. For example:America/New_York
for EST. -
In the
Hostname
field, enter the hostname for the client to use. Leave this blank if you are using DHCP to provide the hostname. -
In the
Machine Id
field, enter a machine identification number for the client. Leave this blank to have systemd generate one automatically. -
In the
Target
field, enter a systemd target unit.
-
-
Click Save Formula to save your configuration.
-
Navigate to the
tab, and set these parameters in the section:-
In the
Labels
field, select the default partition table type to use. -
In the
Initial Gap
field, select the default amount of space to leave before the first partition. For example:1 MB
, or use0
to leave no space between partitions.
-
-
For each device that you want to configure, in the
section, click +, and set these parameters:-
In the
Device
field, type the mount point for the device. For example,/dev/sda
. -
In the
Label
field, select the partition table type to use, if it is different from the default label you selected. -
In the
Initial Gap
field, select the amount of space to leave before the first partition, if it is different from the default space you specified.
-
-
For each partition that you want to create, in the
section, click +, and set these parameters:-
In the
Partition Number
field, enter a number for the partition. The number you enter here is appended to the device name to identify the partition. For example, partition number1
on device/dev/sda
can be identified as/dev/sda1
. -
In the
Partition Name
field, enter a name for the partition. Leave this blank if you have entered a partition number in the previous field. -
In the
Partition Size
field, enter a size for the partition. For example:500 MB
. Userest
to use all the remaining free space.
-
-
For each file system that you want to create, in the
Filesystems
section, click +, and set these parameters:-
In the
Partition
field, select the partition to create the file system on. For example,/dev/sda1
. -
In the
Filesystem
field, select the file system type to create. -
In the
Mountpoint
field, type the mount point for the file system. For example:/
for root.
-
-
Click Save Formula to save your configuration.
If you want to use LVM or RAID on your devices, click + in the appropriate sections, and complete the details for your environment. |
-
Navigate to the
tab, and set these parameters in theBootloader
section:-
In the
Device
field, type the path for the bootloader. For example,/dev/sda
. -
In the
Timeout
field, select the number of seconds grub will wait before booting the default menu entry. -
In the
Kernel
field, type any additional kernel parameters you want to use. Any kernel parameters you add here will be appended to theGRUB_CMDLINE_LINUX_DEFAULT
line during boot. -
In the
Terminal
field, type the terminal to use for both terminal input and output. -
In the
Serial Command
field, type parameters for using the serial port. Use this only if you are using the serial console as the default terminal. -
In the
Gfxmode
field, type the resolution to use for the graphical terminal. Use this only if you are using the graphical console as the default terminal. -
Check the
Theme
box to use GRUB2 default branding package. -
Check the
Disable OS Prober
box to disable using the OS prober to discover other installed operating systems.
-
-
Click Save Formula to save your configuration.
-
Navigate to the
tab, and set these parameters in the section:-
Check the
Minimal
box to use a minimal installation, which only installs packages listed asRequired
.
-
-
For each repository that you want to add, in the
section, click +, and set these parameters:-
In the
Repository Name
field, type a name for the repository. -
In the
Repository URL
field, type the location of the repository.
-
-
To add packages from each repository, in the
section, click +, and set these parameters:-
In the
field, type the names of the packages to install, or type a pattern to search for the appropriate packages. For example,pattern:enhanced_base glibc-locale
, orkernel-default
.
-
-
In the
section, set these parameters:-
In the
Image URL
field, type the location of the operating system ISO image to use. -
In the
Md5
field, type the MD5 hash to use to verify the ISO.
-
-
In the
section, set these parameters:-
In the
Registration Code
field, type the registration code for the client you are installing. You can obtain this code from SUSE Customer Center. -
In the
Email
field, type the administrator email address to use. -
In the
Url
field, type the address of the registration server to use. For example, usehttps://scc.suse.com
, to register with SUSE Customer Center. -
In the
Version
field, type the version of the product you are registering.
-
-
For each product that you want to register, in the
section, click +, and set these parameters:-
In the
Product
field, type each product you want to register. For example,<product_name>/1.1/x86
, for version 1.1 with x86 architecture. -
In the
field, type the names of the packages to install, or type a pattern to search for the appropriate packages. For example,pattern:enhanced_base glibc-locale
, orkernel-default
.
-
-
Click Save Formula to save your configuration.
-
Navigate to the
tab, and set these parameters:-
Check the
Install salt-minion
box to install and configure the client as a Salt client.
-
-
For each service you want to enable, in the
section, click +, and set these parameters:-
In the
Service
field, type the name of the service to enable. For example,salt-minion
.
-
-
For each service you want to disable, in the
section, click +, and set these parameters:-
In the
Service
field, type the name of the service to disable.
-
-
Click Save Formula to save your configuration.
-
Navigate to the
tab. -
For each user you want to create, in the
Users
section, click +, and set these parameters:-
In the
Username
field, type the name of the new user. -
In the
Password Hash
field, type the hashed version of the password to use.
-
-
To add a certificate for each user, in the
section, click +, and add the certificate to theCertificate
field. -
Click Save Formula to save your configuration.
When you have completed and saved all the forms, apply the highstate.
For more information about using Yomi, see Install Using Yomi.