mirror of https://github.com/zulip/zulip.git
install-aws-server: Switch to 24.04.
This commit is contained in:
parent
3adedc9545
commit
a5a898ba21
|
@ -0,0 +1,2 @@
|
|||
deb http://www.ksplice.com/apt noble ksplice
|
||||
deb-src http://www.ksplice.com/apt noble ksplice
|
|
@ -0,0 +1 @@
|
|||
deb https://apt.releases.teleport.dev/ubuntu noble stable/v16
|
|
@ -112,8 +112,8 @@ DISK_SIZE=$(lookup disk_size)
|
|||
# Determine the architecture
|
||||
ARCH=$($AWS ec2 describe-instance-types --instance-types "$INSTANCE_TYPE" --query 'InstanceTypes[*].ProcessorInfo.SupportedArchitectures[0]' --output text)
|
||||
|
||||
# Lookup the latest 22.04 image
|
||||
AMI_ID=$($AWS ec2 describe-images --owners 099720109477 --filters 'Name=name,Values=ubuntu/images/hvm-ssd/ubuntu-*-22.04*' "Name=architecture,Values=$ARCH" --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)
|
||||
# Lookup the latest 24.04 image
|
||||
AMI_ID=$($AWS ec2 describe-images --owners 099720109477 --filters 'Name=name,Values=ubuntu/images/hvm-ssd-gp3/ubuntu-*-24.04*' "Name=architecture,Values=$ARCH" --query 'sort_by(Images, &CreationDate)[-1].ImageId' --output text)
|
||||
|
||||
# Verify it doesn't exist already
|
||||
ZONE_NAME=$($AWS route53 get-hosted-zone --id "$AWS_ZONE_ID" | jq -r '.HostedZone.Name')
|
||||
|
|
Loading…
Reference in New Issue