// Copyright 2015, EMC, Inc.

module.exports = {
    friendlyName: 'Install CoreOS',
    injectableName: 'Task.Os.Install.CoreOS',
    implementsTask: 'Task.Base.Os.Install',
    options: {
        // NOTE: user/pass aren't used by the coreos installer at the moment,
        // but they are required values
        username: 'root',
        password: 'root',
        profile: 'install-coreos.ipxe',
        comport: 'ttyS0',
        hostname: 'coreos-node',
        completionUri: 'pxe-cloud-config.yml'
    },
    properties: {
        os: {
            linux: {
                distribution: 'coreos'
            }
        }
    }
};

// Copyright 2015, EMC, Inc.

module.exports = {
    friendlyName: 'Install CoreOS',
    injectableName: 'Task.Os.Install.CoreOS',
    implementsTask: 'Task.Base.Os.Install',
    options: {
        // NOTE: user/pass aren't used by the coreos installer at the moment,
        // but they are required values
        username: 'root',
        password: 'root',
        profile: 'install-coreos.ipxe',
        comport: 'ttyS0',
        hostname: 'coreos-node',
        installDisk: '/dev/sda',
        completionUri: 'pxe-cloud-config.yml'
    },
    properties: {
        os: {
            linux: {
                distribution: 'coreos'
            }
        }
    }
};

Enable CoreOS Install to Disk
Enable CoreOS Install to Disk
