2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 17:23:08 +00:00

Merge pull request #1407 from immarvin/onksbootloader

save the content of the partition file to xcat.log to inspect the partition scheme after installation
This commit is contained in:
Xiaopeng Wang 2016-06-28 10:33:18 +08:00 committed by GitHub
commit 7918c2f83b
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