<commit_before>{
    "variables": { 
        "branch": "trunk",
        "version": "latest",
	"isopath": "xe-phase-1/main.iso",
        "xshost": "",
        "xspassword": "",
        "outputdir": "/tmp/"
    },
    "provisioners": [
        {
            "type": "file",
            "source": "scripts/veryfirstboot",
            "destination": "/tmp/veryfirstboot"
        },
        {
            "type": "file",
            "source": "scripts/chroot_script_base.sh",
            "destination": "/tmp/chroot_script_base.sh"
        },
        {
            "type": "file",
            "source": "scripts/chroot_script_dev.sh",
            "destination": "/tmp/chroot_script_dev.sh"
        },
        {
            "type": "file",
            "source": "scripts/dhcp-everything",
            "destination": "/tmp/dhcp-everything"
        },
        {
	    "type": "file",
            "source": "scripts/install_dhcp_everything.sh",
            "destination": "/tmp/install_dhcp_everything.sh"
        },
        {
            "type": "shell",
            "scripts": [
                "scripts/wait_for_installer.sh",
                "scripts/run_in_chroot.sh",
		"scripts/install_dhcp_everything.sh"
            ]
	}
    ],
    "builders": [
        {
            "boot_command": [
                "<wait>menu.c32",
                "<enter><wait><tab>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<wait>",
                "answerfile=http://{{ .HTTPIP }}:{{ .HTTPPort }}/answerfile install ",
                "sshpassword=password atexit=shell --- /install.img<enter>"
            ],
            "boot_wait": "5s",
            "guest_additions_mode": "disable",
            "headless": false,
            "disk_size": 102400,
            "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
            "guest_os_type": "RedHat_64",
            "http_directory": "http",
            "iso_checksum_type": "none",
            "iso_url": "http://coltrane.uk.xensource.com/usr/groups/build/{{user `branch`}}/{{user `version`}}/{{user `isopath`}}",
            "shutdown_command": "/sbin/shutdown -hP now",
            "ssh_password": "password",
            "ssh_port": 22,
            "ssh_username": "root",
            "ssh_wait_timeout": "10000s",
            "type": "virtualbox-iso",
            "vm_name": "XenServer",
            "vboxmanage": [
                ["modifyvm", "{{.Name}}", "--memory", "2048"],
                ["modifyvm", "{{.Name}}", "--cpus", "1"]
            ]
        },
        {
            "type": "xenserver-iso",
	    "remote_host": "{{user `xshost`}}",
	    "remote_username": "root",
	    "remote_password": "{{user `xspassword`}}",
            "boot_command": [
                "<wait>menu.c32",
                "<enter><wait><tab>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<wait>",
                "answerfile=http://{{ .HTTPIP }}:{{ .HTTPPort }}/answerfile install ",
                "sshpassword=password atexit=shell --- /install.img<enter>"
            ],
            "boot_wait": "3s",
            "disk_size": 51200,
            "format":"xva",
            "http_directory": "http",
 	    "http_port_min": 2375,
	    "http_port_max": 2376,
            "iso_checksum_type": "none",
            "iso_url": "http://coltrane.uk.xensource.com/usr/groups/build/{{user `branch`}}/{{user `version`}}/xe-phase-1/main.iso",
            "output_directory": "{{user `outputdir`}}",
            "shutdown_command": "/sbin/shutdown -hP now > /dev/null &",
            "ssh_password": "password",
            "ssh_port": 22,
            "ssh_username": "root",
            "ssh_wait_timeout": "10000s",
            "vm_name": "XenServer-{{user `branch`}}",
	    "vm_memory": 4096
	}
    ],
    "post-processors": [
         {
	    "only": ["virtualbox-iso"],
            "compression_level": 9,
            "output": "XenServer.box",
            "type": "vagrant",
            "vagrantfile_template": "Vagrantfile.template"
        }
    ]
}<commit_msg>Add isopath to correct URL this time<commit_after>{
    "variables": { 
        "branch": "trunk",
        "version": "latest",
	"isopath": "xe-phase-1/main.iso",
        "xshost": "",
        "xspassword": "",
        "outputdir": "/tmp/"
    },
    "provisioners": [
        {
            "type": "file",
            "source": "scripts/veryfirstboot",
            "destination": "/tmp/veryfirstboot"
        },
        {
            "type": "file",
            "source": "scripts/chroot_script_base.sh",
            "destination": "/tmp/chroot_script_base.sh"
        },
        {
            "type": "file",
            "source": "scripts/chroot_script_dev.sh",
            "destination": "/tmp/chroot_script_dev.sh"
        },
        {
            "type": "file",
            "source": "scripts/dhcp-everything",
            "destination": "/tmp/dhcp-everything"
        },
        {
	    "type": "file",
            "source": "scripts/install_dhcp_everything.sh",
            "destination": "/tmp/install_dhcp_everything.sh"
        },
        {
            "type": "shell",
            "scripts": [
                "scripts/wait_for_installer.sh",
                "scripts/run_in_chroot.sh",
		"scripts/install_dhcp_everything.sh"
            ]
	}
    ],
    "builders": [
        {
            "boot_command": [
                "<wait>menu.c32",
                "<enter><wait><tab>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<wait>",
                "answerfile=http://{{ .HTTPIP }}:{{ .HTTPPort }}/answerfile install ",
                "sshpassword=password atexit=shell --- /install.img<enter>"
            ],
            "boot_wait": "5s",
            "guest_additions_mode": "disable",
            "headless": false,
            "disk_size": 102400,
            "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
            "guest_os_type": "RedHat_64",
            "http_directory": "http",
            "iso_checksum_type": "none",
            "iso_url": "http://coltrane.uk.xensource.com/usr/groups/build/{{user `branch`}}/{{user `version`}}/{{user `isopath`}}",
            "shutdown_command": "/sbin/shutdown -hP now",
            "ssh_password": "password",
            "ssh_port": 22,
            "ssh_username": "root",
            "ssh_wait_timeout": "10000s",
            "type": "virtualbox-iso",
            "vm_name": "XenServer",
            "vboxmanage": [
                ["modifyvm", "{{.Name}}", "--memory", "2048"],
                ["modifyvm", "{{.Name}}", "--cpus", "1"]
            ]
        },
        {
            "type": "xenserver-iso",
	    "remote_host": "{{user `xshost`}}",
	    "remote_username": "root",
	    "remote_password": "{{user `xspassword`}}",
            "boot_command": [
                "<wait>menu.c32",
                "<enter><wait><tab>",
                "<bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
                "<wait>",
                "answerfile=http://{{ .HTTPIP }}:{{ .HTTPPort }}/answerfile install ",
                "sshpassword=password atexit=shell --- /install.img<enter>"
            ],
            "boot_wait": "3s",
            "disk_size": 51200,
            "format":"xva",
            "http_directory": "http",
 	    "http_port_min": 2375,
	    "http_port_max": 2376,
            "iso_checksum_type": "none",
            "iso_url": "http://coltrane.uk.xensource.com/usr/groups/build/{{user `branch`}}/{{user `version`}}/{{user `isopath`}}",
            "output_directory": "{{user `outputdir`}}",
            "shutdown_command": "/sbin/shutdown -hP now > /dev/null &",
            "ssh_password": "password",
            "ssh_port": 22,
            "ssh_username": "root",
            "ssh_wait_timeout": "10000s",
            "vm_name": "XenServer-{{user `branch`}}",
	    "vm_memory": 4096
	}
    ],
    "post-processors": [
         {
	    "only": ["virtualbox-iso"],
            "compression_level": 9,
            "output": "XenServer.box",
            "type": "vagrant",
            "vagrantfile_template": "Vagrantfile.template"
        }
    ]
}
{'fraction_non_alphanumeric': 0.1912621359223301, 'fraction_numerical': 0.012742718446601941, 'mean_word_length': 1.7090729783037475, 'pattern_counts': {'":': 142, '<': 91, '<?xml version=': 0, '>': 93, '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': '5186159', 'n_tokens_mistral': 2756, 'n_tokens_neox': 2604, 'n_words': 369}