بنقرة واحدة
openbsd-new-version
Create Packer templates for a new OpenBSD version based on an existing version
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create Packer templates for a new OpenBSD version based on an existing version
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Update package versions in templates for Alpine Linux
Update Packer templates for FreeBSD release changes (BETA, RC, RELEASE)
Update Packer templates for Debian minor release changes (e.g., 13.4 → 13.5)
Update package versions in templates for OpenBSD
Update package versions in templates for FreeBSD
| name | openbsd-new-version |
| description | Create Packer templates for a new OpenBSD version based on an existing version |
This skill automates the process of creating Packer templates for a new OpenBSD release based on an existing version's templates.
When instructed to create templates for a new OpenBSD version, follow these steps:
Ask the user for:
7.8): The existing version to use
as the base7.9): The new version to create20260519): The date component for the
box_version variableVerify that the source directory openbsd/openbsd-{SOURCE_VERSION}/
exists before proceeding.
Copy the entire source directory to create the target directory:
openbsd/openbsd-{SOURCE_VERSION}/openbsd/openbsd-{TARGET_VERSION}/Rename all files in the new directory to match the target version:
Template files (.pkr.hcl):
openbsd-{SOURCE_VERSION}-minimal.pkr.hcl → openbsd-{TARGET_VERSION}-minimal.pkr.hclopenbsd-{SOURCE_VERSION}-x11.pkr.hcl → openbsd-{TARGET_VERSION}-x11.pkr.hclopenbsd-{SOURCE_VERSION}-dwm.pkr.hcl → openbsd-{TARGET_VERSION}-dwm.pkr.hclopenbsd-{SOURCE_VERSION}-xfce.pkr.hcl → openbsd-{TARGET_VERSION}-xfce.pkr.hclVariable files (.pkrvars.hcl):
vars-openbsd-{SOURCE_VERSION}-arm64.pkrvars.hcl → vars-openbsd-{TARGET_VERSION}-arm64.pkrvars.hclvars-openbsd-{SOURCE_VERSION}-i386.pkrvars.hcl → vars-openbsd-{TARGET_VERSION}-i386.pkrvars.hclFor each .pkr.hcl file in the target directory, update the following
variables:
Variable: box_version
{SOURCE_VERSION}.{OLD_DATE} (e.g., 7.8.20251022){TARGET_VERSION}.{BOX_VERSION_DATE} (e.g., 7.9.20260519)Variable: iso_checksum
file:https://cdn.openbsd.org/pub/OpenBSD/{SOURCE_VERSION}/amd64/SHA256file:https://cdn.openbsd.org/pub/OpenBSD/{TARGET_VERSION}/amd64/SHA256Variable: iso_image
install{SOURCE_VERSION_NO_DOT}.iso (e.g., install78.iso)install{TARGET_VERSION_NO_DOT}.iso (e.g., install79.iso)
Variable: os_ver
{SOURCE_VERSION} (e.g., 7.8){TARGET_VERSION} (e.g., 7.9)Variable: vm_name
OpenBSD-{SOURCE_VERSION} (e.g., OpenBSD-7.8)OpenBSD-{TARGET_VERSION} (e.g., OpenBSD-7.9)For vars-openbsd-{TARGET_VERSION}-arm64.pkrvars.hcl:
iso_checksum URL from /{SOURCE_VERSION}/arm64/ to /{TARGET_VERSION}/arm64/iso_image from install{SOURCE_VERSION_NO_DOT}.iso to install{TARGET_VERSION_NO_DOT}.isoos_ver from {SOURCE_VERSION} to {TARGET_VERSION}For vars-openbsd-{TARGET_VERSION}-i386.pkrvars.hcl:
iso_checksum URL from /{SOURCE_VERSION}/i386/ to /{TARGET_VERSION}/i386/iso_image from install{SOURCE_VERSION_NO_DOT}.iso to install{TARGET_VERSION_NO_DOT}.isoos_ver from {SOURCE_VERSION} to {TARGET_VERSION}Use the openbsd-update-packages skill to update package versions:
Create a new README.md in the target directory by:
README.md{SOURCE_VERSION} with {TARGET_VERSION}{OLD_BOX_VERSION} with {TARGET_VERSION}.{BOX_VERSION_DATE}Add an entry to the root CHANGELOG.md file under the [Unreleased]
section:
* [OpenBSD](openbsd/README.md): Add templates for OpenBSD {TARGET_VERSION}.After completing all steps:
openbsd/openbsd-{TARGET_VERSION}/packer validate)When a user says: "Create templates for OpenBSD 7.9 based on OpenBSD 7.8 with box version 20260519"
The skill will:
openbsd/openbsd-7.8/ to openbsd/openbsd-7.9/7.9 instead of 7.8openbsd-update-packages skill7.9 vs 79 for ISO
filenames)openbsd-update-packages skill for package
version updatesinstall.conf.pkrtpl.hcl file does not need to be renamed as it's
a template used by all versions