Use YaST2 to install the iSCSI Target software. This step is done only once to set up the software on the VM.
Continuing in your SSH session with the virtual machine, launch YaST2 by entering
yast2
The AMI image instance has no GUI installed by default.
Go to
.If you are prompted with the
message, select to accept and import the GNUI Key.Wait until the Package Manager is loaded.
It takes a few minutes to load the Package Manager and to download the package list.
In the Package Manager, search for the iSCSI packages. (In the iscsi, then press Enter.)
field, typeFrom the list of iSCSI packages, select the following iSCSI Target software packages:
Select
(lower right corner), then select to continue with the install.Wait until the install is complete.
Select
to exit YaST, which allows the installation of the iSCSI Target management plug-in to YaST2.Keep the console open and do not terminate the SSH session.
Continue with Section A.10, Configuring the iSCSI Target Device.