<commit_before>#!/bin/bash

set -o errexit
set -o nounset

##
##FuzzVM install script.
##
##Note: This script is for Ubuntu 16.04

sudo apt-get update;
sudo apt-get install docker.io -y;

sudo groupadd docker
sudo gpasswd -a ${USER} docker
sudo service docker restart

sudo docker pull swarm;
sudo docker pull ubuntu;
sudo docker pull progrium/consul;

mkdir -p $HOME/.ssh;
mv /tmp/fuzzvm-key $HOME/.ssh/id_rsa
chmod 600 $HOME/.ssh/id_rsa
cat /tmp/bastion-key.pub >> $HOME/.ssh/authorized_keys
cat /tmp/fuzzvm-key.pub >> $HOME/.ssh/authorized_keys

mv /tmp/scripts $HOME/

chmod +x $HOME/scripts/*<commit_msg>Fix failure from adding group that exists<commit_after>#!/bin/bash

set -o errexit
set -o nounset

##
##FuzzVM install script.
##
##Note: This script is for Ubuntu 16.04

sudo apt-get update;
sudo apt-get install docker.io -y;

sudo groupadd -f docker
sudo gpasswd -a ${USER} docker
sudo service docker restart

sudo docker pull swarm;
sudo docker pull ubuntu;
sudo docker pull progrium/consul;

mkdir -p $HOME/.ssh;
mv /tmp/fuzzvm-key $HOME/.ssh/id_rsa
chmod 600 $HOME/.ssh/id_rsa
cat /tmp/bastion-key.pub >> $HOME/.ssh/authorized_keys
cat /tmp/fuzzvm-key.pub >> $HOME/.ssh/authorized_keys

mv /tmp/scripts $HOME/

chmod +x $HOME/scripts/*
{'fraction_non_alphanumeric': 0.12730184147317855, 'fraction_numerical': 0.01120896717373899, 'mean_word_length': 3.8638132295719845, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '760230', 'n_tokens_mistral': 523, 'n_tokens_neox': 450, 'n_words': 146}