Initial coala delint (packer)
Initial coala delint for packer
Issue: CIMAN-2
Change-Id: I2ccd6ee569d6cbe4bcc842a1228ca6b6375141f6
Signed-off-by: Andrew Grimberg <agrimberg@linuxfoundation.org>
diff --git a/packer/templates/basebuild.json b/packer/templates/basebuild.json
index 426f290..ff84a72 100644
--- a/packer/templates/basebuild.json
+++ b/packer/templates/basebuild.json
@@ -4,7 +4,6 @@
"stack_user": null,
"stack_pass": null,
"stack_network": null,
-
"base_image": null,
"cloud_user": null,
"distro": null,
@@ -32,7 +31,9 @@
"provisioners": [
{
"type": "shell",
- "inline": ["mkdir -p /tmp/packer"]
+ "inline": [
+ "mkdir -p /tmp/packer"
+ ]
},
{
"type": "file",
diff --git a/packer/templates/docker.json b/packer/templates/docker.json
index 5418c4b..1c8d3ec 100644
--- a/packer/templates/docker.json
+++ b/packer/templates/docker.json
@@ -4,7 +4,6 @@
"stack_user": null,
"stack_pass": null,
"stack_network": null,
-
"base_image": null,
"cloud_user": null,
"distro": null,
@@ -32,7 +31,9 @@
"provisioners": [
{
"type": "shell",
- "inline": ["mkdir -p /tmp/packer"]
+ "inline": [
+ "mkdir -p /tmp/packer"
+ ]
},
{
"type": "file",
diff --git a/packer/vars/centos.json b/packer/vars/centos.json
index 7516bcc..c5b8c79 100644
--- a/packer/vars/centos.json
+++ b/packer/vars/centos.json
@@ -1,7 +1,6 @@
{
"base_image": "CentOS 7.1611 (2017-01-30) - LF upload",
"cloud_user": "centos",
-
"distro": "CentOS 7",
"cloud_user_data": "provision/rh-user_data.sh"
}
diff --git a/packer/vars/ubuntu-14.04.json b/packer/vars/ubuntu-14.04.json
index 938194b..dd81e25 100644
--- a/packer/vars/ubuntu-14.04.json
+++ b/packer/vars/ubuntu-14.04.json
@@ -1,7 +1,6 @@
{
"base_image": "Ubuntu 14.04 (2017-02-01) - LF upload",
"cloud_user": "ubuntu",
-
"distro": "Ubuntu 14.04",
"cloud_user_data": "provision/null_data.sh"
}
diff --git a/packer/vars/ubuntu-16.04.json b/packer/vars/ubuntu-16.04.json
index c45de86..12f9430 100644
--- a/packer/vars/ubuntu-16.04.json
+++ b/packer/vars/ubuntu-16.04.json
@@ -1,7 +1,6 @@
{
"base_image": "Ubuntu 16.04 (2017-02-01) - LF upload",
"cloud_user": "ubuntu",
-
"distro": "Ubuntu 16.04",
"cloud_user_data": "provision/null_data.sh"
}