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:
commit
7918c2f83b
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user