git: 1cc968931bef - stable/14 - release/ec2: Remove references to portsnap

From: Colin Percival <cperciva_at_FreeBSD.org>
Date: Tue, 03 Oct 2023 17:28:37 UTC
The branch stable/14 has been updated by cperciva:

URL: https://cgit.FreeBSD.org/src/commit/?id=1cc968931bef915dd700b5eaefc8e6bd13fdb8a0

commit 1cc968931bef915dd700b5eaefc8e6bd13fdb8a0
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-09-27 22:02:36 +0000
Commit:     Colin Percival <cperciva@FreeBSD.org>
CommitDate: 2023-10-03 17:28:17 +0000

    release/ec2: Remove references to portsnap
    
    We no longer install a default portsnap.conf, so the sed invocation just
    generates an error.
    
    Reviewed by:    cperciva
    MFC after:      1 week
    Differential Revision:  https://reviews.freebsd.org/D42003
    
    (cherry picked from commit 63aa2e91342ead0495eada5667f413f0cf8eb56a)
---
 release/tools/ec2.conf | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/release/tools/ec2.conf b/release/tools/ec2.conf
index 71f9f5c330cb..d033739adc26 100644
--- a/release/tools/ec2.conf
+++ b/release/tools/ec2.conf
@@ -126,11 +126,9 @@ EOF
 		's/^#KbdInteractiveAuthentication yes/KbdInteractiveAuthentication no/' \
 		${DESTDIR}/etc/ssh/sshd_config
 
-	# Use FreeBSD Update and Portsnap mirrors hosted in AWS
+	# Use FreeBSD Update mirrors hosted in AWS
 	sed -i '' -e 's/update.FreeBSD.org/aws.update.FreeBSD.org/' \
 		${DESTDIR}/etc/freebsd-update.conf
-	sed -i '' -e 's/portsnap.FreeBSD.org/aws.portsnap.FreeBSD.org/' \
-		${DESTDIR}/etc/portsnap.conf
 
 	# Use the NTP service provided by Amazon
 	sed -i '' -e 's/^pool/#pool/' \