Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Ubuntu 24.04 AMD64 and ARM64 to the Allocator #5428

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion deployability/modules/allocation/aws/helpers/userData.sh
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,13 @@ fi

if [ "$DIST_NAME" = "ubuntu" ] || [ "$DIST_NAME" = "debian" ]; then
perl -pi -e "s/^#?Port 22$/Port ${SSH_PORT}/" /etc/ssh/sshd_config
service sshd restart || service ssh restart
if [ "$DIST_VER" = "24" ]; then
perl -pi -e "s/^#?ListenStream=22$/ListenStream=${SSH_PORT}/" /etc/systemd/system/sockets.target.wants/ssh.socket
systemctl daemon-reload
systemctl restart sshd || systemctl restart ssh
else
service sshd restart || service ssh restart
fi
fi

if [ "$DIST_NAME" = "darwin" ]; then
Expand Down
8 changes: 8 additions & 0 deletions deployability/modules/allocation/static/specs/os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,14 @@ vagrant:

aws:
# Ubuntu
linux-ubuntu-24.04-amd64:
ami: ami-04b70fa74e45c3917
zone: us-east-1
user: ubuntu
linux-ubuntu-24.04-arm64:
ami: ami-0eac975a54dfee8cb
zone: us-east-1
user: ubuntu
linux-ubuntu-22.04-amd64:
ami: ami-053b0d53c279acc90
zone: us-east-1
Expand Down