Try switching to the buster ARM image.

This commit is contained in:
Brad Warren 2020-08-25 16:44:20 -07:00
parent 2a047eb526
commit c19ee3937d
3 changed files with 13 additions and 13 deletions

View file

@ -8,12 +8,6 @@ targets:
type: ubuntu
virt: hvm
user: ubuntu
- ami: ami-008680ee60f23c94b
name: ubuntu20.04_arm64
type: ubuntu
virt: hvm
user: ubuntu
machine_type: a1.medium
- ami: ami-0545f7036167eb3aa
name: ubuntu19.10
type: ubuntu
@ -36,6 +30,12 @@ targets:
type: ubuntu
virt: hvm
user: admin
- ami: ami-0dcd54b7d2fff584f
name: debian10_arm64
type: ubuntu
virt: hvm
user: admin
machine_type: a1.medium
- ami: ami-003f19e0e687de1cd
name: debian9
type: ubuntu

View file

@ -12,7 +12,7 @@ then
# For apache 2.4, set up ServerName
sudo sed -i '/ServerName/ s/#ServerName/ServerName/' $CONFFILE
sudo sed -i '/ServerName/ s/www.example.com/'$PUBLIC_HOSTNAME'/' $CONFFILE
if [ $(python3 -V 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | sed 's/\.//') -ne 38 ]
if [ $(python3 -V 2>&1 | cut -d" " -f 2 | cut -d. -f1,2 | sed 's/\.//') -lt 36 ]
then
# Upgrade python version using pyenv because py3.5 is deprecated
# Don't upgrade if it's already 3.8 because pyenv doesn't work great on arm, and

View file

@ -8,12 +8,6 @@ targets:
type: ubuntu
virt: hvm
user: ubuntu
- ami: ami-008680ee60f23c94b
name: ubuntu20.04_arm64
type: ubuntu
virt: hvm
user: ubuntu
machine_type: a1.medium
- ami: ami-0545f7036167eb3aa
name: ubuntu19.10
type: ubuntu
@ -31,6 +25,12 @@ targets:
type: ubuntu
virt: hvm
user: admin
- ami: ami-0dcd54b7d2fff584f
name: debian10_arm64
type: ubuntu
virt: hvm
user: admin
machine_type: a1.medium
#-----------------------------------------------------------------------------
# Other Redhat Distros
- ami: ami-0916c408cb02e310b