// Copyright 2016, EMC, Inc.

'use strict';

module.exports = {
    friendlyName: 'Bootstrap Rancher',
    injectableName: 'Task.Linux.Bootstrap.Rancher',
    implementsTask: 'Task.Base.Linux.Bootstrap',
    options: {
        kernelFile: 'vmlinuz-1.0.2-rancher',
        initrdFile: 'initrd-1.0.2-rancher',
        kernelUri: '{{ file.server }}/common/{{ options.kernelFile }}',
        initrdUri: '{{ file.server }}/common/{{ options.initrdFile }}',
        profile: 'rancherOS.ipxe',
        comport: 'ttyS0'
    },
    properties: {
        os: {
            linux: {
                distribution: 'rancher',
                release: '1.0.2',
                Linux: '4.9.30'
            }
        }
    }
};

@@ -293,32 +293,79 @@
 1.0.2-rancher',%0A
+        dockerFile: 'discovery.docker.tar.xz',%0A
         kernelUr
@@ -484,32 +484,104 @@
 initrdFile %7D%7D',%0A
+        dockerUri: '%7B%7B file.server %7D%7D/common/%7B%7B options.dockerFile %7D%7D',%0A
         profile:

add dockerFile and dockerUri to bootstrap-rancher (#577)