lib/graphs/install-debian-graph.js
// Copyright 2015-2017, Dell EMC, Inc.
'use strict';
module.exports = {
friendlyName: 'Install Debian/Ubuntu',
injectableName: 'Graph.InstallDebian',
options: {
},
tasks: [
{
label: 'set-boot-pxe',
taskName: 'Task.Obm.Node.PxeBoot',
ignoreFailure: true
},
{
label: 'reboot',
taskName: 'Task.Obm.Node.Reboot',
waitOn: {
'set-boot-pxe': 'finished'
}
},
{
label: 'install-debian',
taskName: 'Task.Os.Install.Debian',
waitOn: {
'reboot': 'succeeded'
}
},
{
label: 'rackhd-callback-notification-wait',
taskName: 'Task.Wait.Notification',
waitOn: {
'install-debian': 'succeeded'
}
}
]
};