pixiecore: properly quote the ID parameter in StaticBooter.

This commit is contained in:
David Anderson 2016-08-14 22:36:30 -07:00
parent 81a8cca451
commit 16aa5cf353

View File

@ -48,7 +48,7 @@ func StaticBooter(spec *Spec) (Booter, error) {
f := func(id string) string {
ret.otherIDs = append(ret.otherIDs, id)
return fmt.Sprintf("{{ ID other-%d }}", len(ret.otherIDs)-1)
return fmt.Sprintf("{{ ID \"other-%d\" }}", len(ret.otherIDs)-1)
}
cmdline, err := expandCmdline(spec.Cmdline, template.FuncMap{"ID": f})
if err != nil {