Commit 8dd3dc70 authored by eric pellegrini's avatar eric pellegrini
Browse files

propagate the headless state to all children

parent 601b4817
......@@ -190,6 +190,7 @@ class PackerTemplate:
parent_builder["iso_url"] = os.path.join(builder["output_directory"],"{}-{}".format(, builder_name))
parent_builder["iso_checksum_type"] = "none"
parent_builder["iso_checksum_url"] = "none"
parent_builder["headless"] = "{{ headless }}"
# If the builder is also defined in the child config, use the child config one and specify the image dependency
......@@ -202,6 +203,7 @@ class PackerTemplate:
builder["iso_url"] = os.path.join(self._templates_base_dir,,"builds","{}-{}".format(, builder_name))
builder["iso_checksum_type"] = "none"
builder["iso_checksum_url"] = "none"
builder["headless"] = "{{ headless }}"
def _load_packages(self, packages: List[str]):
"""Load the non-standard package YAML file and append them as provisioners of this :class:`PackerTemplate`.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment