Skip to content

Commit

Permalink
capi: remove unnecessary only directives
Browse files Browse the repository at this point in the history
Since we started simply using the `build_name` variable, we do not
need to have `only` directives for checking for Flatcar. Simply remove
the `only` directives.
  • Loading branch information
Dongsu Park committed Dec 7, 2020
1 parent 8298419 commit 6ab0a4f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions images/capi/packer/qemu/packer.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,7 @@
"BUILD_NAME={{user `build_name`}}"
],
"script": "./packer/files/bootstrap-flatcar.sh",
"execute_command": "sudo -S -E {{.Vars}} bash '{{.Path}}'",
"only": ["{{user `build_name`}}"]
"execute_command": "sudo -S -E {{.Vars}} bash '{{.Path}}'"
},
{
"type": "ansible",
Expand All @@ -99,8 +98,7 @@
],
"post-processors": [
{
"type": "vagrant",
"only": ["{{user `build_name`}}"]
"type": "vagrant"
}
]
}

0 comments on commit 6ab0a4f

Please sign in to comment.