
This article is intended for administrators wishing to rebuild the SvHCI ISO file to include an answer file.
Utilizing pxe boot and answer files is detailed below:
https://stormagic.com/doc/svhci/2-4-0/en/Automate/automate-deployments.htm
This KB will detail out the recreation of the ISO to include a pre-populated answer file.
Note: All images are clickable for enlarging, or can be opened in a new tab
Resolution/Information
Table of Contents
Add the tool to a Ubuntu instance
This example uses a tool called "xorriso" that can be added to Ubuntu via standard apt repos:
sudo apt install xorriso -y
Create the Answer File
The Answer file utilizes yaml with an example included in documentation:
https://stormagic.com/doc/svhci/2-4-0/en/Automate/create-answer-file.htm?Highlight=answer%20file
My example is included below:
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: trueModify the ISO
From a folder with the ISO and answerfile in together run the command
xorriso -dev ./cdrom.iso -boot_image any keep -map ./af.yaml /etc/answerfile.yaml --My example below to remake the ISO file including the answer file:
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
Having modified the ISO mount via your iLO/iDRAC/XCC/CIMC etc or create a bootable USB per the below:
and install per the below, noting that currently an Enter key press to select Manual install is necessary:
With manual install selected the installation proceeds automatically per the below on screen:
Installation complete
Once completed the system will automatically reboot, as the power off flag was not specified in the answer file, and come up on the correct settings:
See Also
Comments
0 comments
Article is closed for comments.