Fix docker build
diff --git a/centos-7/scripts/docker.sh b/centos-7/scripts/docker.sh
new file mode 100644
index 0000000..fa887e5
--- /dev/null
+++ b/centos-7/scripts/docker.sh
@@ -0,0 +1,2 @@
+# Kernel makes no sense in docker, let base.sh know
+touch /tmp/no_install_kernel
diff --git a/centos-7/template.json b/centos-7/template.json
index 829405f..e29a302 100644
--- a/centos-7/template.json
+++ b/centos-7/template.json
@@ -40,6 +40,14 @@
"scripts/cleanup.sh",
"scripts/zerodisk.sh"
]
+ },
+ "docker": {
+ "scripts": [
+ "scripts/docker.sh",
+ "scripts/base.sh",
+ "scripts/salt.sh",
+ "scripts/cleanup.sh"
+ ]
}
}
}