git: 63aa2e91342e - main - release/ec2: Remove references to portsnap

From: Mark Johnston <markj_at_FreeBSD.org>
Date: Wed, 27 Sep 2023 23:03:36 UTC
The branch main has been updated by markj:

URL: https://cgit.FreeBSD.org/src/commit/?id=63aa2e91342ead0495eada5667f413f0cf8eb56a

commit 63aa2e91342ead0495eada5667f413f0cf8eb56a
Author:     Mark Johnston <markj@FreeBSD.org>
AuthorDate: 2023-09-27 22:02:36 +0000
Commit:     Mark Johnston <markj@FreeBSD.org>
CommitDate: 2023-09-27 23:03:25 +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
---
 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/' \