This article is intended for administrators wishing to rebuild the SvHCI ISO file to include an answer file.
SvHCI Automated Deployments
Add the Tool to an Ubuntu Instance
This example uses a tool called xorriso that can be added to Ubuntu using the standard apt repositories:
sudo apt install xorriso -y
Installing xorriso on Ubuntu.
Create the Answer File
The answer file utilizes YAML. An example is included in the SvHCI documentation:
An example answer file is shown below:
Example SvHCI answer file.
installation:
hostname: "svhci-answerhost-01"
domain: "ts.stormagic.com"
password: "St0rMag1c!"
license_key: "MPGM-ILRW-ORDZ"
eula_accepted: true
network:
ntp: "time.stormagic.com"
nameserver: "10.40.0.254"
management:
ip: "10.40.0.100"
netmask: "255.255.255.0"
gateway: "10.40.0.254"
storage:
install_disks:
- "/dev/sda"
post_install:
shutdown_on_success: true
Modify the ISO
From a folder containing both the SvHCI ISO and the answer file, run the following command:
xorriso -dev ./cdrom.iso -boot_image any keep -map ./af.yaml /etc/answerfile.yaml --
Example:
root@mchristie-Ubuntu:/home/mchristie/Downloads/svhci-2-4-0_iso# xorriso -dev ./stormagic-svhci-6.7.U1.55194-cdrom.iso -boot_image any keep -map ./answerfile.yaml /etc/answerfile.yaml --
Mount and Install
After modifying the ISO, mount it using your server's remote management interface (iLO, iDRAC, XCC, CIMC, etc.) or create a bootable USB using the guide below:
SvHCI - Create a Bootable USB Installer Disk with Rufus
Begin the installation. Currently an Enter key press is required to select Manual Install.
Selecting Manual Install.
After Manual Install has been selected, the installation proceeds automatically using the embedded answer file.
Automated installation in progress.
Installation complete.
Installation completed successfully.
Once completed, the system automatically reboots because the answer file does not specify the power off option. The host then starts using the configured settings.
Completed installation using the configured answer file.

Comments
0 comments
Article is closed for comments.