<commit_before>#
# Basic Configuration
#

keyboard us
lang en_US.UTF-8
timezone America/Los_Angeles

rootpw --plaintext pegasus
reboot
text


#
# Installation
#

install
url --url=http://mirrors.usc.edu/pub/linux/distributions/centos/7/os/x86_64/


#
# Boot Loader Options
#

bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"


#
# Partition Information
#

zerombr
clearpart --all --initlabel
part /    --asprimary --fstype=ext4 --ondisk=sda --size=7168
part swap --asprimary --fstype=swap --ondisk=sda --size=1    --grow

#
# Network Configuration
#

network --device=eth0 --bootproto=dhcp --onboot=on


#
# Authentication
#

auth --useshadow --passalgo=<PASSWORD>


#
# Firewall Configuration
#

firewall --enabled --service=ssh --port=5000:tcp


#
# Display Configuration
#

skipx


#
# Other
#

firstboot --disabled
selinux   --disabled


#
# Repositories
#

repo --name=HTCondor --baseurl=http://research.cs.wisc.edu/htcondor/yum/stable/rhel7


#
# Services
#

services --enabled=ntpd,condor


#
# Packages
#

%packages --ignoremissing --nobase
-ipw2100-firmware
-ipw2200-firmware
-ivtv-firmware
-NetworkManager
-NetworkManager-team
-NetworkManager-tui

# Bread & Butter
condor.x86_64

# package-cleanup
yum-utils

# Text Editors
vim
nano
emacs

# Utilities
wget

# Development
#git
#python-setuptools

# NTP
ntp

%end


#
# Post-Installation Script
#

%post

cat >> /etc/condor/config.d/00-basic <<EOT
CONDOR_HOST=\$(IP_ADDRESS)
TRUST_UID_DOMAIN=True
ALLOW_WRITE=*
EOT

%end
<commit_msg>Use chronyd instead of ntp. Allow UDP on port 123 for NTP. Remove unused firmware packages to trim VM. Add --utc to timezone ks option to prevent connectivity loss due to discrepancy between hardware and os clock<commit_after>#
# Basic Configuration
#

keyboard us
lang en_US.UTF-8
timezone --utc America/Los_Angeles

rootpw --plaintext pegasus
reboot
text


#
# Installation
#

install
url --url=http://mirrors.usc.edu/pub/linux/distributions/centos/7/os/x86_64/


#
# Boot Loader Options
#

bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet"


#
# Partition Information
#

zerombr
clearpart --all --initlabel
part /    --asprimary --fstype=ext4 --ondisk=sda --size=7168
part swap --asprimary --fstype=swap --ondisk=sda --size=1    --grow

#
# Network Configuration
#

network --device=eth0 --bootproto=dhcp --onboot=on


#
# Authentication
#

auth --useshadow --passalgo=<PASSWORD>


#
# Firewall Configuration
#

firewall --enabled --service=ssh --port=5000:tcp,123:udp


#
# Display Configuration
#

skipx


#
# Other
#

firstboot --disabled
selinux   --disabled


#
# Repositories
#

repo --name=HTCondor --baseurl=http://research.cs.wisc.edu/htcondor/yum/stable/rhel7


#
# Services
#

services --enabled=chronyd,condor


#
# Packages
#

%packages --ignoremissing --nobase

# Core Group - Mandatory Packages
-biosdevname
-iprutils
-plymouth


# Core Group - Default Packages

-NetworkManager
-NetworkManager-tui
-NetworkManager-team

-*-firmware


# Others

# Bread & Butter
condor.x86_64

# package-cleanup
yum-utils

# Text Editors
nano
emacs

# Utilities
wget

# NTP
chrony

%end


#
# Post-Installation Script
#

%post

cat > /etc/condor/config.d/00-basic << EOT
CONDOR_HOST = \$(IP_ADDRESS)
TRUST_UID_DOMAIN = True
ALLOW_WRITE = *
EOT

%end

{'fraction_non_alphanumeric': 0.12605804111245467, 'fraction_numerical': 0.018742442563482467, 'mean_word_length': 3.595833333333333, 'pattern_counts': {'":': 0, '<': 9, '<?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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3616424', 'n_tokens_mistral': 1319, 'n_tokens_neox': 1244, 'n_words': 275}