mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-09-12 13:18:48 +00:00
so that it's easier for the admin who is debugging the install to know which files are created by xCAT
19 lines
559 B
Plaintext
Executable File
19 lines
559 B
Plaintext
Executable File
#find first available block device (sda or vda likely)
|
|
#TODO: pick a likely non-SAN target if possible
|
|
|
|
shopt -s nullglob
|
|
|
|
#
|
|
# The getinstdisk script is common for RHEL/SLES/PowerKVM/Ubuntu.
|
|
# It will attempt to select the install disk and write the selection to /tmp/xcat.install_disk
|
|
#
|
|
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/getinstdisk#
|
|
if [ -e "/tmp/xcat.install_disk" ]; then
|
|
instdisk=`cat /tmp/xcat.install_disk`
|
|
fi
|
|
|
|
echo "part PV.01 --ondisk=$instdisk" >> /tmp/partitioning
|
|
echo "volgroup ibmpkvm_rootvg PV.01" >> /tmp/partitioning
|
|
|
|
|