support imaged provisioning.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2013-03-04 05:15:38 +00:00
parent 0f1f11b01a
commit 828417286b
3 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,2 @@
echo "Setting Boot Manager for the next boot.\n";
efibootmgr -c -l \\EFI\\redhat\\grub.efi -L Linux

View File

@ -0,0 +1 @@
/opt/xcat/xcatdsklspost

View File

@ -0,0 +1,6 @@
. /tmp/post-install/variables.txt
echo "Updating hostname to $HOSTNAME"
sed -i "s/HOSTNAME=.*/HOSTNAME=$HOSTNAME/g" /etc/sysconfig/network
hostname $HOSTNAME