<commit_before># Copyright (c) 2013, Daynix Computing LTD (www.daynix.com)
# All rights reserved.
#
# Maintained by <EMAIL>
#
# This file is a part of Bricklets library, see "Bricklets" page
# on www.daynix.com for more.
#
# This code is licensed under standard 3-clause BSD license.
# See file LICENSE supplied with this package for the full license text.

#Settings file for HCK setup

#Setup ID
if [ -z "$UNIQUE_ID" ]
then
   UNIQUE_ID=11
fi

#HCK root
HCK_ROOT=`dirname $0`

#QEMU PATH
if [ -z "$QEMU_BIN" ]
then
   QEMU_BIN=/usr/libexec/qemu-kvm
fi

#TEST DEVICE TYPE
TEST_DEV_TYPE=network
#TEST_DEV_TYPE=bootstorage
#TEST_DEV_TYPE=storage
#TEST_DEV_TYPE=balloon
#TEST_DEV_TYPE=serial
#TEST_DEV_TYPE=usb

#VNC ports
PORT_BASE=`expr ${UNIQUE_ID} '*' 3`
STUDIO_PORT=`expr ${PORT_BASE} + 0`
CLIENT1_PORT=`expr ${PORT_BASE} + 1`
CLIENT2_PORT=`expr ${PORT_BASE} + 2`

#VIDEO
VIDEO_TYPE=VNC
#VIDEO_TYPE=SPICE

#TEST NETWORK BACKEND
TEST_NET_TYPE=bridge
#TEST_NET_TYPE=OVS

#BRIDGES
WORLD_BR_NAME=whqlbr0
CTRL_BR_NAME=ctrltestbr_${UNIQUE_ID}
TEST_BR_NAME=hcktestbr_${UNIQUE_ID}

#IMAGES
IMAGES_DIR=`dirname ${HCK_ROOT}`/images
STUDIO_IMAGE=${IMAGES_DIR}/HCK_Studio_WS2008R2_SP1.img
CLIENT1_IMAGE=${IMAGES_DIR}/HCK_Client1_WS2008R2_SP1.img
CLIENT2_IMAGE=${IMAGES_DIR}/HCK_Client2_WS2008R2_SP1.img

#RESOURCES
CLIENT1_CPUS=2
CLIENT2_CPUS=2
CLIENT_MEMORY=1G
WORLD_NET_DEVICE=e1000
CTRL_NET_DEVICE=e1000

#MISC
VHOST_STATE=on<commit_msg>VirtHCK: Change image names extensions from RAW to QCOW2<commit_after># Copyright (c) 2013, Daynix Computing LTD (www.daynix.com)
# All rights reserved.
#
# Maintained by <EMAIL>
#
# This file is a part of Bricklets library, see "Bricklets" page
# on www.daynix.com for more.
#
# This code is licensed under standard 3-clause BSD license.
# See file LICENSE supplied with this package for the full license text.

#Settings file for HCK setup

#Setup ID
if [ -z "$UNIQUE_ID" ]
then
   UNIQUE_ID=11
fi

#HCK root
HCK_ROOT=`dirname $0`

#QEMU PATH
if [ -z "$QEMU_BIN" ]
then
   QEMU_BIN=/usr/libexec/qemu-kvm
fi

#TEST DEVICE TYPE
TEST_DEV_TYPE=network
#TEST_DEV_TYPE=bootstorage
#TEST_DEV_TYPE=storage
#TEST_DEV_TYPE=balloon
#TEST_DEV_TYPE=serial
#TEST_DEV_TYPE=usb

#VNC ports
PORT_BASE=`expr ${UNIQUE_ID} '*' 3`
STUDIO_PORT=`expr ${PORT_BASE} + 0`
CLIENT1_PORT=`expr ${PORT_BASE} + 1`
CLIENT2_PORT=`expr ${PORT_BASE} + 2`

#VIDEO
VIDEO_TYPE=VNC
#VIDEO_TYPE=SPICE

#TEST NETWORK BACKEND
TEST_NET_TYPE=bridge
#TEST_NET_TYPE=OVS

#BRIDGES
WORLD_BR_NAME=whqlbr0
CTRL_BR_NAME=ctrltestbr_${UNIQUE_ID}
TEST_BR_NAME=hcktestbr_${UNIQUE_ID}

#IMAGES
IMAGES_DIR=`dirname ${HCK_ROOT}`/images
STUDIO_IMAGE=${IMAGES_DIR}/HCK_Studio_WS2008R2_SP1.qcow2
CLIENT1_IMAGE=${IMAGES_DIR}/HCK_Client1_WS2008R2_SP1.qcow2
CLIENT2_IMAGE=${IMAGES_DIR}/HCK_Client2_WS2008R2_SP1.qcow2

#RESOURCES
CLIENT1_CPUS=2
CLIENT2_CPUS=2
CLIENT_MEMORY=1G
WORLD_NET_DEVICE=e1000
CTRL_NET_DEVICE=e1000

#MISC
VHOST_STATE=on
{'fraction_non_alphanumeric': 0.10546204053589832, 'fraction_numerical': 0.035726554448643075, 'mean_word_length': 6.89159891598916, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, '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': '4173876', 'n_tokens_mistral': 1315, 'n_tokens_neox': 1242, 'n_words': 255}