<commit_before>package koding

import (
	"strings"
	"text/template"

	"koding/db/mongodb/modelhelper"
	"koding/migrators/useroverlay/token"
)

var (
	cloudInitTemplate = template.Must(template.New("cloudinit").Parse(cloudInit))

	// TODO: write_files directive doesn't work properly. So we are echoing.
	cloudInit = `
#cloud-config
output : { all : '| tee -a /var/log/cloud-init-output.log' }
disable_root: false
disable-ec2-metadata: true
hostname: {{.Hostname}}

bootcmd:
  - [sh, -c, 'echo "127.0.0.1 {{.Hostname}}" >> /etc/hosts']

users:
  - default<commit_msg>kloud: do not show ec2metadata.<commit_after>package koding

import (
	"strings"
	"text/template"

	"koding/db/mongodb/modelhelper"
	"koding/migrators/useroverlay/token"
)

var (
	cloudInitTemplate = template.Must(template.New("cloudinit").Parse(cloudInit))

	// TODO: write_files directive doesn't work properly. So we are echoing.
	cloudInit = `
#cloud-config
output : { all : '| tee -a /var/log/cloud-init-output.log' }
disable_root: false
disable_ec2_metadata: true
hostname: {{.Hostname}}

bootcmd:
  - [sh, -c, 'echo "127.0.0.1 {{.Hostname}}" >> /etc/hosts']

users:
  - default
{'fraction_non_alphanumeric': 0.16, 'fraction_numerical': 0.013043478260869565, 'mean_word_length': 4.279816513761468, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '2549562', 'n_tokens_mistral': 439, 'n_tokens_neox': 424, 'n_words': 87}