Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Packer init doc fixes #12535

Merged
merged 2 commits into from
Jul 25, 2023
Merged

Packer init doc fixes #12535

merged 2 commits into from
Jul 25, 2023

Commits on Jul 24, 2023

  1. command: change wording for init's postitional arg

    `packer init' is meant to be invoked on a template file or a directory.
    This was described in the command-line help message as
    `[template.pkr.hcl|folder]'.
    
    Because this is encapsulated between square brackets, this could be
    taken as an option instead of a positional, mandatory argument.
    
    This commit changes the wording to adopt a similar convention as `packer
    build', so the two are consistent in how they are invoked, and to avoid
    mistaking this argument as optional.
    lbajolet-hashicorp committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    b2d473f View commit details
    Browse the repository at this point in the history
  2. website: add usage notice to init

    The `packer init' command's wording was not clear, so it was changed in
    a preceding commit, and this commit aims to add more details on how the
    command is meant to be used, along with a simple example.
    lbajolet-hashicorp committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    9ff2dae View commit details
    Browse the repository at this point in the history