2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-13 01:40:26 +00:00

save the content of the partition file to xcat.log to inspect the partition scheme after installation

This commit is contained in:
immarvin
2016-06-27 22:24:52 -04:00
parent 00584f5370
commit 4967f9b80c
2 changed files with 10 additions and 1 deletions

View File

@ -223,6 +223,11 @@ echo "part / --size 1 --grow --ondisk $instdisk --fstype $FSTYPE" >> /tmp/partit
#XCA_PARTITION_SCRIPT#
#save the content of /tmp/partitionfile in /var/log/xcat/xcat.log
#so that we can inspect the partition scheme after installation
echo "=================The Partition Scheme================"
cat /tmp/partitionfile
echo "====================================================="
# The following code is to generate the repository for the installation
cat /proc/cmdline

View File

@ -210,7 +210,11 @@ if [ -n "#ENV:PERSKCMDLINE#" ];then
grep bootloader /tmp/partitionfile >/dev/null 2>&1|| echo -e "bootloader --append=\"#ENV:PERSKCMDLINE#\"" >>/tmp/partitionfile
fi
#save the content of /tmp/partitionfile in /var/log/xcat/xcat.log
#so that we can inspect the partition scheme after installation
echo "=================The Partition Scheme================"
cat /tmp/partitionfile
echo "====================================================="
# The following code is to generate the repository for the installation
cat /proc/cmdline