2023-04-28 10:12:12 +00:00
|
|
|
# vim: ts=2 et:
|
2024-03-11 13:31:30 +00:00
|
|
|
cloud_name = Amazon Web Services
|
|
|
|
image_format = vhd
|
|
|
|
image_format_opts = vhd/force-size
|
2023-04-28 10:12:12 +00:00
|
|
|
|
|
|
|
kernel_modules {
|
|
|
|
ena = true
|
|
|
|
nvme = true
|
|
|
|
}
|
|
|
|
kernel_options {
|
|
|
|
"nvme_core.io_timeout=4294967295" = true
|
|
|
|
}
|
|
|
|
initfs_features {
|
|
|
|
ena = true
|
|
|
|
nvme = true
|
|
|
|
}
|
|
|
|
|
|
|
|
# TODO: what about IPv6-only networks?
|
|
|
|
# maybe we only set it for <= 3.17, and leave it to dhcpcd?
|
|
|
|
ntp_server = 169.254.169.123
|
|
|
|
|
|
|
|
access.PUBLIC = true
|
|
|
|
regions.ALL = true
|
|
|
|
|
2023-11-14 16:52:02 +00:00
|
|
|
# limit edge publishing
|
|
|
|
WHEN.edge {
|
|
|
|
access.PUBLIC = false
|
|
|
|
regions.ALL = false
|
|
|
|
regions.us-west-2 = true
|
|
|
|
regions.us-east-1 = true
|
|
|
|
}
|
|
|
|
|
2023-04-28 10:12:12 +00:00
|
|
|
cloud_region_url = "https://{region}.console.aws.amazon.com/ec2/home#Images:visibility=public-images;imageId={image_id}",
|
|
|
|
cloud_launch_url = "https://{region}.console.aws.amazon.com/ec2/home#launchAmi={image_id}"
|
|
|
|
|
|
|
|
WHEN {
|
|
|
|
aarch64 {
|
|
|
|
# new AWS aarch64 default...
|
|
|
|
kernel_modules.gpio_pl061 = true
|
|
|
|
initfs_features.gpio_pl061 = true
|
|
|
|
WHEN {
|
|
|
|
"3.14 3.13 3.12" {
|
|
|
|
# ...but not supported for older versions
|
|
|
|
kernel_modules.gpio_pl061 = false
|
|
|
|
initfs_features.gpio_pl061 = false
|
|
|
|
}
|
|
|
|
}
|
2024-03-11 13:31:30 +00:00
|
|
|
# AWS is weird, other aarch64 use ttyAMA0
|
|
|
|
kernel_options {
|
|
|
|
"console=ttyAMA0,115200n8" = false
|
|
|
|
"console=ttyS0,115200n8" = true
|
|
|
|
}
|
2023-04-28 10:12:12 +00:00
|
|
|
}
|
|
|
|
}
|