// Copyright 2016, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Install Windows',
    injectableName: 'Task.Os.Install.Win',
    implementsTask: 'Task.Base.Os.Install',
    options: {
            osType: 'windows', //readonly option, should avoid change it

            profile: 'windows.ipxe',
            version: null,
            hostname: 'localhost',
            domain: 'rackhd',
            password: "RackHDRocks!",
            rootSshKey: null,
            username: "onrack",
            "networkDevices": [],
            dnsServers: [],
            installDisk: null,
            smbUser: null,
            smbPassword: null,
            smbRepo: "\\\\{{ config.apiServerAddress }}\\windowsServer2012",// the samba mount point
            repo :'{{file.server}}/winpe',
            productkey: "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"

    },
    properties: {
        os: {
            windows: {
                type: 'server'
            }
        }
    }
};

// Copyright 2016, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Install Windows',
    injectableName: 'Task.Os.Install.Win',
    implementsTask: 'Task.Base.Os.Install',
    options: {
            osType: 'windows', //readonly option, should avoid change it

            profile: 'windows.ipxe',
            version: null,
            hostname: 'localhost',
            domain: 'rackhd',
            password: "RackHDRocks!",
            rootSshKey: null,
            username: "onrack",
            "networkDevices": [],
            dnsServers: [],
            installDisk: null,
            smbUser: null,
            smbPassword: null,
            smbRepo: "\\\\{{ config.apiServerAddress }}\\windowsServer2012",// the samba mount point
            repo :'{{file.server}}/winpe',
            productkey: "XXXXX-XXXXX-XXXXX-XXXXX-XXXXX",
            firewallDisable: false
    },
    properties: {
        os: {
            windows: {
                type: 'server'
            }
        }
    }
};

Include firewallDisable option to allow ping function to test static IP
Include firewallDisable option to allow ping function to test static IP
