This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
menuentry "Windows custom" { | |
insmod part_gpt | |
insmod fat | |
insmod chain | |
search --no-floppy --fs-uuid --set={EFI partition UUID} | |
chainloader /EFI/Microsoft/Boot/bootmgfw.efi | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum update | |
reboot | |
## Repos configuration | |
subscription-manager config --rhsm.manage_repos=1 | |
subscription-manager repos --enable rhel-6-server-extras-rpms | |
echo “notify_only=0” >> /etc/yum/pluginconf.d/search-disabled-repos.conf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Variables | |
UHOME=/home/$(logname) | |
GID=$(id -g $(basename $UHOME)) | |
USRID=$(id -u $(basename $UHOME)) | |
DOMAIN=YOUR-DOMAIN.ORG | |
## create keytab | |
function create_tkt { | |
ktutil > /dev/null <<INTER | |
add_entry -password -p $AUSER@$DOMAIN -k 0 -e aes256-sha1 |
OlderNewer