File tree 3 files changed +17
-7
lines changed
3 files changed +17
-7
lines changed Original file line number Diff line number Diff line change @@ -655,7 +655,7 @@ Parameters:
655
655
Default : " No"
656
656
originType :
657
657
Type : String
658
- Description : VPC Origin (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.html)
658
+ Description : Enable Elastic IP if using EC2 custom origin
659
659
AllowedValues :
660
660
- " EC2"
661
661
- " VPC Origin"
Original file line number Diff line number Diff line change @@ -255,9 +255,9 @@ Parameters:
255
255
Type : String
256
256
Description : https://aws.amazon.com/ebs/general-purpose/
257
257
AllowedValues :
258
- - " gp3"
259
- - " gp2"
260
- Default : " gp3"
258
+ - gp3
259
+ - gp2
260
+ Default : gp3
261
261
262
262
enableBackup :
263
263
Type : String
@@ -646,7 +646,7 @@ Parameters:
646
646
Default : " No"
647
647
originType :
648
648
Type : String
649
- Description : VPC Origin (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.html)
649
+ Description : Enable Elastic IP if using EC2 custom origin
650
650
AllowedValues :
651
651
- " EC2"
652
652
- " VPC Origin"
@@ -1253,7 +1253,7 @@ Resources:
1253
1253
1254
1254
# Update OS
1255
1255
dnf update -q -y
1256
- sleep 30
1256
+ sleep 15
1257
1257
1258
1258
# AWS CLI
1259
1259
echo "export AWS_CLI_AUTO_PROMPT=on-partial" >> /home/ec2-user/.bashrc
Original file line number Diff line number Diff line change @@ -669,7 +669,7 @@ Parameters:
669
669
Default : " No"
670
670
originType :
671
671
Type : String
672
- Description : VPC Origin (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-vpc-origins.html)
672
+ Description : Enable Elastic IP if using EC2 custom origin
673
673
AllowedValues :
674
674
- " EC2"
675
675
- " VPC Origin"
@@ -1533,6 +1533,8 @@ Resources:
1533
1533
sed -i "s/enabled=1/enable=0/g" /etc/default/apport
1534
1534
apt-get remove -q -y ubuntu-report whoopsie apport
1535
1535
apt-get autoremove -q -y
1536
+ # Disable upgrade prompt: https://help.ubuntu.com/community/Upgrades#Upgrade_policy
1537
+ sed -i "s/Prompt=lts/Prompt=never/g" /etc/update-manager/release-upgrades
1536
1538
1537
1539
rm -f ${!0}
1538
1540
mode : " 000740"
@@ -1546,6 +1548,12 @@ Resources:
1546
1548
mode : " 000644"
1547
1549
owner : " ubuntu"
1548
1550
group : " ubuntu"
1551
+ " /home/ubuntu/.config/gnome-initial-setup-done " :
1552
+ content : |
1553
+ yes
1554
+ mode : " 000664"
1555
+ owner : " ubuntu"
1556
+ group : " ubuntu"
1549
1557
commands :
1550
1558
install :
1551
1559
command : " /root/install-dcv.sh > /var/log/install-dcv.log 2>&1"
@@ -1907,8 +1915,10 @@ Resources:
1907
1915
systemctl stop apt-daily.timer apt-daily-upgrade.timer
1908
1916
apt-get clean all
1909
1917
apt-get update -q
1918
+ sleep 10
1910
1919
apt-get install -q -y procps
1911
1920
pkill apt
1921
+ pkill dpkg
1912
1922
apt-get install -q -y wget tmux unzip tar curl sed
1913
1923
1914
1924
# CfN scripts: https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-helper-scripts-reference.html
You can’t perform that action at this time.
0 commit comments