<commit_before>#!/bin/bash

# 52-config.sh
# Configures iRODS using the response values in /opt/irods-aws/setup_responses

sudo su -c "/var/lib/irods/packaging/setup_irods.sh < /opt/irods-aws/setup_responses"<commit_msg>Setting hostname to public-hostname before setup_irods.sh to avoid resource configuration issues<commit_after>#!/bin/bash

# 52-config.sh
# Configures iRODS using the response values in /opt/irods-aws/setup_responses
sudo hostname `ec2metadata --public-hostname`
sudo su -c "ec2metadata --public-hostname > /etc/hostname"
sudo su -c "/var/lib/irods/packaging/setup_irods.sh < /opt/irods-aws/setup_responses"
{'fraction_non_alphanumeric': 0.11802232854864433, 'fraction_numerical': 0.009569377990430622, 'mean_word_length': 4.814814814814815, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 4, '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': '3622081', 'n_tokens_mistral': 226, 'n_tokens_neox': 219, 'n_words': 49}