<commit_before>#!/bin/bash

set -xe

env

NOVAGRANITEDIR=$(realpath $(dirname $0)/../..)
INSTALLDIR=${INSTALLDIR:-/opt/stack}

cp $NOVAGRANTIEDIR/contrib/devstack/extras.d/70-granite.sh $INSTALLDIR/devstack/extras.d
cp $NOVAGRANTIEDIR/contrib/devstack/lib/nova_plugins/hypervisor-granite $INSTALLDIR/devstack/lib/nova_plugins/
cat - <<-EOF >> $INSTALLDIR/devstack/localrc
export VIRT_DRIVER=granite
export HOST_IP=$HOST_IP
EOF<commit_msg>Fix devstack granite<commit_after>#!/bin/bash

set -xe

env

NOVAGRANITEDIR=$(realpath $(dirname $0)/../..)
INSTALLDIR=${INSTALLDIR:-/opt/stack}

cp $NOVAGRANITEDIR/contrib/devstack/extras.d/70-granite.sh $INSTALLDIR/devstack/extras.d
cp $NOVAGRANITEDIR/contrib/devstack/lib/nova_plugins/hypervisor-granite $INSTALLDIR/devstack/lib/nova_plugins/
cat - <<-EOF >> $INSTALLDIR/devstack/localrc
export VIRT_DRIVER=granite
EOF
{'fraction_non_alphanumeric': 0.15133876600698487, 'fraction_numerical': 0.006984866123399301, 'mean_word_length': 5.771653543307087, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '2215334', 'n_tokens_mistral': 363, 'n_tokens_neox': 337, 'n_words': 43}