def build(self, parallel=True, debug=False, force=False,<EOL>machine_readable=False):
self.packer_cmd = self.packer.build<EOL>self._add_opt('<STR_LIT>' if parallel else None)<EOL>self._add_opt('<STR_LIT>' if debug else None)<EOL>self._add_opt('<STR_LIT>' if force else None)<EOL>self._add_opt('<STR_LIT>' if machine_readable else None)<EOL>self._append_base_arguments()<EOL>self._add_opt(self.packerfile)<EOL>return self.packer_cmd()<EOL>
Executes a `packer build`

        :param bool parallel: Run builders in parallel
        :param bool debug: Run in debug mode
        :param bool force: Force artifact output even if exists
        :param bool machine_readable: Make output machine-readable