<commit_before>#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=<PASSWORD>


# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --disabled

text

reboot
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=uk --xlayouts='gb'
# System language
lang en_GB.UTF-8

# Network information
network  --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted <PASSWORD>
# System timezone
timezone Europe/London --isUtc
user --name=vagrant --plaintext --password vagrant --groups=vagrant,wheel
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel

%packages
@base
@core
@desktop-debugging
@dial-up
@directory-client
@fonts
@gnome-desktop
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@java-platform
@multimedia
@network-file-system-client
@print-client
@x11
gcc
kernel-devel
elinks
tree
git
%end



%post --log=/root/kickstart-post.log --interpreter=/bin/bash

id > /tmp/testfile123.txt
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers

%end<commit_msg>added yum update.<commit_after>#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512


# Use CDROM installation media
cdrom
# Run the Setup Agent on first boot
firstboot --disabled

text

reboot
ignoredisk --only-use=sda
# Keyboard layouts
keyboard --vckeymap=uk --xlayouts='gb'
# System language
lang en_GB.UTF-8

# Network information
network  --bootproto=dhcp --device=enp0s3 --ipv6=auto --activate
network  --hostname=localhost.localdomain
# Root password
rootpw --iscrypted <PASSWORD>
# System timezone
timezone Europe/London --isUtc
user --name=vagrant --plaintext --password vagrant --groups=vagrant,wheel
# X Window System configuration information
xconfig  --startxonboot
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda
autopart --type=lvm
# Partition clearing information
clearpart --none --initlabel

%packages
@base
@core
@desktop-debugging
@dial-up
@directory-client
@fonts
@gnome-desktop
@guest-agents
@guest-desktop-agents
@input-methods
@internet-browser
@java-platform
@multimedia
@network-file-system-client
@print-client
@x11
gcc
kernel-devel
elinks
tree
git
%end



%post --log=/root/kickstart-post.log --interpreter=/bin/bash

id > /tmp/testfile123.txt
sed -i "s/^.*requiretty/#Defaults requiretty/" /etc/sudoers
yum -y update
%end
{'fraction_non_alphanumeric': 0.11539931218952999, 'fraction_numerical': 0.008788689338937715, 'mean_word_length': 4.703703703703703, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2936966', 'n_tokens_mistral': 907, 'n_tokens_neox': 860, 'n_words': 232}