Browse Source

Fixed: missing \n and name in sample file

master
Till Wegmüller 5 years ago
parent
commit
54cf8cd5ca
  1. 2
      cmd/imageadm/cmd/build.go
  2. 1
      samples/minimal.imagefile

2
cmd/imageadm/cmd/build.go

@ -45,7 +45,7 @@ func runBuild(_ *cobra.Command, args []string) {
common.ExitWithErr("cannot open image configuration is %s an image?: %s\n", path, err)
}
if config.Name == "" {
common.ExitWithErr("name must be defined in config")
common.ExitWithErr("name must be defined in config\n")
}
manifest = schema.BlankImageManifest()
manifest.Name = types.ACIdentifier(config.Name)

1
samples/minimal.imagefile

@ -1,3 +1,4 @@
name minimal
package minimal_install
ips {
publisher {

Loading…
Cancel
Save