6 Deploying raw images #
SUSE Linux Enterprise Micro provides raw images that can be directly deployed to your device storage: a memory card, USB flash drive, or a hard disk. The options for which type of device you can deploy the image to depend on your particular hardware—follow the guidance in your vendor documentation.
To prepare the setup, you need two separate devices. One for the raw disk image, where SLE Micro runs, and another one that serves as a configuration medium, for example a USB disk.
To prepare the configuration device, proceed as described in Procedure 6.2, “Preparing the configuration device.”. The configuration device needs to be connected to your host running SLE Micro during its first boot.
To prepare the raw image, proceed as follows:
Download the raw image and decompress it:
>
xz -d DOWNLOADED_IMAGE.raw.xzCopy the decompressed image to the device where SLE Micro will run:
>
dd if=DOWNLOADED_IMAGE.raw of=/dev/sdX
The following procedure describes how to prepare the configuration device (usually a USB flash disk).
Format the disk to any file system supported by SLE Micro: Ext3, Ext4, etc.:
>
sudo mkfs.ext4 /dev/sdYSet the device label to either
ignition
(when either Ignition or Combustion is used) orcombustion
(when only Combustion is used). If needed, you can use uppercase letters for the labels, too. To label the device, run:>
sudo e2label /dev/sdY ignitionYou can use any type of configuration storage media that your virtualization system or your hardware supports: ISO image, a USB flash disk, etc.
Mount the device:
>
sudo mount /dev/sdY /mntCreate the directory structure as mentioned in Chapter 8, Configuring with Ignition or Chapter 9, Configuring with Combustion, depending on the configuration tool used:
>
sudo mkdir -p /mnt/ignition/or:
>
sudo mkdir -p /mnt/combustion/Prior to booting for the first time, prepare all elements of the configuration that will be used by Ignition or Combustion. To log in to your system, you need to provide a password for
root
or set up passwordless authentication, otherwise the system will not be accessible after the first boot.
After the first boot, you can register your SUSE Linux Enterprise Micro instance by using the
transactional-update
command. For details, refer to
Section 10.1, “Registration”.
SLE Micro has an available extension for live patching. To use this extension, you need to add the extension to your subscription from the installed system. For details, refer to Section 10.2, “Managing extensions”.