From 16aa5cf3537d2da6a22365635b8eb44e14701b2c Mon Sep 17 00:00:00 2001 From: David Anderson Date: Sun, 14 Aug 2016 22:36:30 -0700 Subject: [PATCH] pixiecore: properly quote the ID parameter in StaticBooter. --- pixiecore/booters.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pixiecore/booters.go b/pixiecore/booters.go index 36c5805..5c3ee2f 100644 --- a/pixiecore/booters.go +++ b/pixiecore/booters.go @@ -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 {