support imaged provisioning.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15261 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
sjing 2013-02-26 04:53:56 +00:00
parent e166962d49
commit d49c882778
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