<commit_before>#!/bin/sh 
export OS=Ubuntu
export OS_VERSION=11
export OS_ARCH=x86_64
export IMAGE_VERSION=1.0
export TYPE=base
export IMAGE_SIZE=5
export MAC_ADDRESS=0a:0a:86:9e:49:60
export NAME=ubuntu

sudo su - root -c "virt-install --nographics --noautoconsole --accelerate --hvm --name $NAME --ram=2000 --disk $OS-$OS_VERSION-$OS_ARCH-$TYPE-$IMAGE_VERSION.img,bus=scsi,size=5 --location=http://archive.ubuntu.com/ubuntu/dists/oneiric/main/installer-amd64/ -x \"auto=true priority=critical url=http://$NODE_IP/ubuntu11_stratus.preseed\" --network bridge=br0 --mac=$MAC_ADDRESS  --noreboot"

<commit_msg>build script adapted for Ubuntu precise 12.04<commit_after>#!/bin/sh 
export OS=Ubuntu
export OS_VERSION=12.04
export OS_ARCH=x86_64
export IMAGE_VERSION=1.0
export TYPE=base
export IMAGE_SIZE=5
export MAC_ADDRESS=0a:0a:86:9e:49:60
export NAME=ubuntu
export DIST=precise
sudo su - root -c "virt-install --nographics --noautoconsole --accelerate --hvm --name $NAME --ram=2000 --disk $OS-$OS_VERSION-$OS_ARCH-$TYPE-$IMAGE_VERSION.img,bus=scsi,size=5 --location=http://archive.ubuntu.com/ubuntu/dists/$DIST/main/installer-amd64/ -x \"auto=true priority=critical url=http://$NODE_IP/ubuntu_stratus.preseed\" --network bridge=br0 --mac=$MAC_ADDRESS  --noreboot"


{'fraction_non_alphanumeric': 0.15165876777251186, 'fraction_numerical': 0.04739336492890995, 'mean_word_length': 5.272277227722772, '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': '2458951', 'n_tokens_mistral': 523, 'n_tokens_neox': 455, 'n_words': 88}