<commit_before>// Copyright 2015, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Install Ubuntu',
    injectableName: 'Task.Os.Install.Ubuntu',
    implementsTask: 'Task.Base.Os.Install',
    schemaRef: 'install-ubuntu.json',
    options: {
        osType: 'linux', //readonly options, should avoid change it
        profile: 'install-ubuntu.ipxe',
        installScript: 'ubuntu-preseed',
        installScriptUri: '{{api.templates}}/{{options.installScript}}',
        hostname: 'localhost',
        comport: 'ttyS0',
        version: 'trusty',
        repo: '{{file.server}}/ubuntu',
        baseUrl: 'dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64',
        rootPassword: "<PASSWORD>!",
        interface: "auto",
        installDisk: "/dev/sda",
        kvm: false,
        kargs:{}
    },
    properties: {
        os: {
            linux: {
                distribution: 'ubuntu'
            }
        }
    }
};<commit_msg>Add callback script to ubuntu installation workflow<commit_after>// Copyright 2015, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Install Ubuntu',
    injectableName: 'Task.Os.Install.Ubuntu',
    implementsTask: 'Task.Base.Os.Install',
    schemaRef: 'install-ubuntu.json',
    options: {
        osType: 'linux', //readonly options, should avoid change it
        profile: 'install-ubuntu.ipxe',
        installScript: 'ubuntu-preseed',
        installScriptUri: '{{api.templates}}/{{options.installScript}}',
        rackhdCallbackScript: 'ubuntu.rackhdcallback',
        hostname: 'localhost',
        comport: 'ttyS0',
        version: 'trusty',
        repo: '{{file.server}}/ubuntu',
        baseUrl: 'dists/trusty/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64',
        rootPassword: "<PASSWORD>!",
        interface: "auto",
        installDisk: "/dev/sda",
        kvm: false,
        kargs:{}
    },
    properties: {
        os: {
            linux: {
                distribution: 'ubuntu'
            }
        }
    }
};
{'fraction_non_alphanumeric': 0.14549878345498785, 'fraction_numerical': 0.008759124087591242, 'mean_word_length': 2.305466237942122, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '394494', 'n_tokens_mistral': 675, 'n_tokens_neox': 610, 'n_words': 120}