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

'use strict';

module.exports = {
    friendlyName: 'Install Ubuntu',
    injectableName: 'Task.Os.Install.Ubuntu',
    implementsTask: 'Task.Base.Os.Install',
    options: {
        username: 'renasar',
        password: '<PASSWORD>',
        profile: 'install-trusty.ipxe',
        hostname: 'renasar-nuc',
        comport: 'ttyS0',
        uid: 1010,
        domain: 'renasar.com',
        completionUri: 'renasar-ansible.pub'
    },
    properties: {
        os: {
            linux: {
                distribution: 'ubuntu',
                release: 'trusty'
            }
        }
    }
};<commit_msg>update install ubuntu task to support additional param<commit_after>// Copyright 2015, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Install Ubuntu',
    injectableName: 'Task.Os.Install.Ubuntu',
    implementsTask: 'Task.Base.Os.Install',
    options: {
        osType: 'linux', //readonly options, should avoid change it
        profile: 'install-ubuntu.ipxe',
        hostname: 'localhost',
        comport: 'ttyS0',
        domain: 'rackhd',
        completionUri: 'renasar-ansible.pub',
        version: 'trusty',
        repo: '{{api.server}}/ubuntu/dists/{{options.version}}/main/installer-amd64/current/images/netboot/ubuntu-installer/amd64', // jshint ignore:line
        rootPassword: "<PASSWORD>!",
        rootSshKey: null,
        users: [],
        networkDevices: [],
        dnsServers: [],
        installDisk: null,
        kvm: false
    },
    properties: {
        os: {
            linux: {
                distribution: 'ubuntu'
            }
        }
    }
};
{'fraction_non_alphanumeric': 0.13836858006042296, 'fraction_numerical': 0.010876132930513595, 'mean_word_length': 2.0274223034734917, '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': '7304277', 'n_tokens_mistral': 547, 'n_tokens_neox': 502, 'n_words': 102}