<commit_before>#!/bin/bash

# We work from here
cd /data/git/$HOSTNAME/cloudstack
# Compile ACS
mvn clean install -P developer,systemvm -DskipTests
# Deploy DB
mvn -P developer -pl developer -Ddeploydb
# Get rid of CentOS 5 crap
mysql -u cloud -pcloud cloud --exec "DELETE from vm_template where type=\"BUILTIN\";"
mysql -u cloud -pcloud cloud --exec "UPDATE cloud.configuration SET value='`hostname`' WHERE name='host';"
# Run mgt
mvn -pl :cloud-client-ui jetty:run<commit_msg>Inserting the host configuration   - Since the deploy Db doesn't specify the devcloud, the host configuration doesn't exist. So, the update SQL will do nothing Instead of getting rid of the builtin tiny linux, I just updated it to use another one   - Using Rohit tiny linux which is just 48mb   - Suitable for tests<commit_after>#!/bin/bash

# We work from here
cd /data/git/$HOSTNAME/cloudstack
# Compile ACS
mvn clean install -P developer,systemvm -DskipTests
# Deploy DB
mvn -P developer -pl developer -Ddeploydb
# Configure the hostname properly - it doesn't exist if the deployeDB doesn't include devcloud
mysql -u cloud -pcloud cloud --exec "INSERT INTO cloud.configuration (instance, name, value) VALUE('DEFAULT', 'host', '`hostname`') ON DUPLICATE KEY UPDATE value = '`hostname`';"
# Get rid of CentOS 5 crap
mysql -u cloud -pcloud cloud --exec "UPDATE cloud.vm_template SET unique_name='tiny Linux',name='tiny Linux',url='http://people.apache.org/~bhaisaab/vms/ttylinux_pv.vhd',checksum='046e134e642e6d344b34648223ba4bc1',display_text='tiny Linux' format='VHD' where id=5;"

# Run mgt
mvn -pl :cloud-client-ui jetty:run
{'fraction_non_alphanumeric': 0.10398505603985056, 'fraction_numerical': 0.017434620174346202, 'mean_word_length': 4.739285714285714, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2541940', 'n_tokens_mistral': 531, 'n_tokens_neox': 497, 'n_words': 193}