aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/config.go1
-rw-r--r--vm/vm.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/config/config.go b/config/config.go
index ccd3df615..dca74edb0 100644
--- a/config/config.go
+++ b/config/config.go
@@ -258,6 +258,7 @@ func checkUnknownFields(data []byte) (string, error) {
"Enable_Syscalls",
"Disable_Syscalls",
"Suppressions",
+ "Initrd",
}
f := make(map[string]interface{})
if err := json.Unmarshal(data, &f); err != nil {
diff --git a/vm/vm.go b/vm/vm.go
index 49bec49a6..d81ed066d 100644
--- a/vm/vm.go
+++ b/vm/vm.go
@@ -33,7 +33,7 @@ type Config struct {
Index int
Workdir string
Bin string
- Initrd string
+ Initrd string
Kernel string
Cmdline string
Image string