File tree Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Expand file tree Collapse file tree 3 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 33# --- script------------------------------------------------
44
55yum install -y binutils
6- yum install -y yum-plugin-kernel-livepatch
7- yum kernel-livepatch enable -y
6+ yum install -y kpatch-dnf
7+ yum kernel-livepatch -y auto
88yum install -y kpatch-runtime
99
1010systemctl enable kpatch.service
11- amazon-linux-extras enable livepatch
11+ systemctl start kpatch.service
12+
1213yum update -y
Original file line number Diff line number Diff line change @@ -5,7 +5,10 @@ function cwagent_ctl {
55}
66export -f cwagent_ctl
77
8+ touch /var/log/cloud-init-output.log
89chmod 644 /var/log/cloud-init-output.log
10+
11+ touch /var/log/messages
912chmod 644 /var/log/messages
1013
1114cwagent_ctl -a fetch-config -s -m ec2 \
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ locals {
6767 data_dir = " /var/lib/teleport"
6868 storage = {
6969 type = " dynamodb"
70- region = " us-east-1 "
70+ region = local.aws_region_name
7171 table_name = local.teleport_ddb_table_state_name
7272 audit_events_uri = " dynamodb://${ local . teleport_ddb_table_events_name } "
7373 audit_sessions_uri = " s3://${ local . teleport_bucket_name } /records"
@@ -128,7 +128,7 @@ locals {
128128 enabled = " yes"
129129 aws = [{
130130 types = [" rds" , " redshift" ]
131- regions = [" us-east-1 " ]
131+ regions = [local.aws_region_name ]
132132 tags = {
133133 " *" : " *"
134134 }
You can’t perform that action at this time.
0 commit comments