diff --git a/xCAT/postscripts/efibootmgr b/xCAT/postscripts/efibootmgr new file mode 100644 index 000000000..959f0a548 --- /dev/null +++ b/xCAT/postscripts/efibootmgr @@ -0,0 +1,2 @@ +echo "Setting Boot Manager for the next boot.\n"; +efibootmgr -c -l \\EFI\\redhat\\grub.efi -L Linux \ No newline at end of file diff --git a/xCAT/postscripts/runxcatpost b/xCAT/postscripts/runxcatpost new file mode 100644 index 000000000..0dbf33f5e --- /dev/null +++ b/xCAT/postscripts/runxcatpost @@ -0,0 +1 @@ +/opt/xcat/xcatdsklspost \ No newline at end of file diff --git a/xCAT/postscripts/updatenetwork b/xCAT/postscripts/updatenetwork new file mode 100644 index 000000000..9a2cefd4b --- /dev/null +++ b/xCAT/postscripts/updatenetwork @@ -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 \ No newline at end of file