Bug 283461 - net/aws-ec2-imdsv2-get: upgrade to 1.0.6 for ipv6 only instance
Summary: net/aws-ec2-imdsv2-get: upgrade to 1.0.6 for ipv6 only instance
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Colin Percival
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-21 07:14 UTC by clive
Modified: 2024-12-21 19:09 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (cperciva)


Attachments
portfile diff (762 bytes, patch)
2024-12-21 07:14 UTC, clive
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description clive 2024-12-21 07:14:46 UTC
Created attachment 256001 [details]
portfile diff

With the version of imdsv2-get, and enabling "Metadata IPv6 endpoint" during instance launch, it is now possible to automatically install authorized_keys for ipv6 only instance.

Ref: https://github.com/aws/aws-ec2-imdsv2-get/commit/f492500ee925d37d9c029588cae75601c12f703f

Tested on AMI name "FreeBSD 14.2-RELEASE-arm64 UEFI-PREFERRED base UFS-prod-f6vw3weijq7py" and Instance type t4g.micro only. This looks trivial, so I went ahead and submitted it.
Comment 1 commit-hook freebsd_committer freebsd_triage 2024-12-21 19:09:00 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=391b7d80e1bd53845359e38415df48270f5d7575

commit 391b7d80e1bd53845359e38415df48270f5d7575
Author:     clive <clive@CirX.ORG>
AuthorDate: 2024-12-21 19:04:10 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2024-12-21 19:07:46 +0000

    net/aws-ec2-imdsv2-get: Update to 1.0.6

    This adds support for accessing the IMDS via the IPv6 endpoint.

    PR:     283461

 net/aws-ec2-imdsv2-get/Makefile | 3 +--
 net/aws-ec2-imdsv2-get/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 5 deletions(-)
Comment 2 Colin Percival freebsd_committer freebsd_triage 2024-12-21 19:09:19 UTC
Thanks!  Sorry I kept getting busy with release engineering stuff and forgetting to update this port.  It's done now.