Add Name to template for boot command
This commit is contained in:
parent
85e3b00e5a
commit
c2c133c605
@ -18,6 +18,7 @@ import (
|
|||||||
const KeyLeftShift uint = 0xFFE1
|
const KeyLeftShift uint = 0xFFE1
|
||||||
|
|
||||||
type bootCommandTemplateData struct {
|
type bootCommandTemplateData struct {
|
||||||
|
Name string
|
||||||
HTTPIP string
|
HTTPIP string
|
||||||
HTTPPort uint
|
HTTPPort uint
|
||||||
}
|
}
|
||||||
@ -59,6 +60,7 @@ func (self *stepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAct
|
|||||||
|
|
||||||
// @todo - include http port/ip so kickstarter files can be grabbed
|
// @todo - include http port/ip so kickstarter files can be grabbed
|
||||||
tplData := &bootCommandTemplateData{
|
tplData := &bootCommandTemplateData{
|
||||||
|
config.InstanceName,
|
||||||
config.LocalIp,
|
config.LocalIp,
|
||||||
http_port,
|
http_port,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user