Skip to content

Add Support for Automatic OS Detection in Packer Builders #13538

@RamsaiPolisetti

Description

@RamsaiPolisetti

Packer currently requires users to manually specify several OS-related configuration values such as distribution type, version, architecture, and boot commands, which can be complex and error-prone—especially when working with multiple templates or different Linux distributions. I would like to request a new feature that enables Packer to automatically detect the operating system and version from the provided ISO or boot image, and then apply the appropriate defaults for boot commands and provisioning options. This would simplify template creation, reduce user mistakes, improve build reliability, and make Packer more user-friendly by eliminating the need for lengthy manual boot command definitions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions