incorporate additional fixes
https://github.com/mcrute/alpine-ec2-ami/pull/8 - temporary fix until ec2-tiny-bootstrap deps are updated https://github.com/mcrute/alpine-ec2-ami/pull/9 https://github.com/mcrute/alpine-ec2-ami/pull/10
This commit is contained in:
parent
cb95f7fd1e
commit
356105f23d
@ -20,7 +20,7 @@ script is provided it will be executed as root after the network is configured.
|
|||||||
|
|
||||||
**Note:** This image will be updated as Alpine Linux changes over time and as
|
**Note:** This image will be updated as Alpine Linux changes over time and as
|
||||||
AWS adds regions. This file and
|
AWS adds regions. This file and
|
||||||
[releases.yaml](https://github.com/mcrute/alpine-ec2-ami/blob/master/releases.yaml)
|
[release.yaml](https://github.com/mcrute/alpine-ec2-ami/blob/master/release.yaml)
|
||||||
will be updated as new regions are made available.
|
will be updated as new regions are made available.
|
||||||
|
|
||||||
| Alpine Version | Region Code | AMI ID |
|
| Alpine Version | Region Code | AMI ID |
|
||||||
|
@ -132,11 +132,11 @@ install_core_packages() {
|
|||||||
# Disable starting getty for physical ttys because they're all inaccessible
|
# Disable starting getty for physical ttys because they're all inaccessible
|
||||||
# anyhow. With this configuration boot messages will still display in the
|
# anyhow. With this configuration boot messages will still display in the
|
||||||
# EC2 console.
|
# EC2 console.
|
||||||
sed -Ei '/^tty\d/s/^/#/' /etc/inittab
|
sed -Ei '/^tty\d/s/^/#/' "$target"/etc/inittab
|
||||||
|
|
||||||
# Make it a little more obvious who is logged in by adding username to the
|
# Make it a little more obvious who is logged in by adding username to the
|
||||||
# prompt
|
# prompt
|
||||||
sed -i "s/^export PS1='/&\\\\u@/" /etc/profile
|
sed -i "s/^export PS1='/&\\\\u@/" "$target"/etc/profile
|
||||||
}
|
}
|
||||||
|
|
||||||
create_initfs() {
|
create_initfs() {
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
"ami_desc_suffix": " Release with EC2 Optimizations",
|
"ami_desc_suffix": " Release with EC2 Optimizations",
|
||||||
"kernel_flavor": "vanilla@edge-main",
|
"kernel_flavor": "vanilla@edge-main",
|
||||||
"add_repos": "@edge-main http://dl-cdn.alpinelinux.org/alpine/edge/main,@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing",
|
"add_repos": "@edge-main http://dl-cdn.alpinelinux.org/alpine/edge/main,@edge-testing http://dl-cdn.alpinelinux.org/alpine/edge/testing",
|
||||||
"add_pkgs": "acct aws-ena-driver-vanilla@edge-testing",
|
"add_pkgs": "acct aws-ena-driver-vanilla@edge-testing e2fsprogs-extra",
|
||||||
"ena_enable": "true",
|
"ena_enable": "true",
|
||||||
"sriov_enable": "false",
|
"sriov_enable": "false",
|
||||||
"volume_size": "1",
|
"volume_size": "1",
|
||||||
|
@ -28,7 +28,8 @@
|
|||||||
# Space separated list of additional packages to add to the AMI.
|
# Space separated list of additional packages to add to the AMI.
|
||||||
# acct - system accounting utilities (sa, etc.)
|
# acct - system accounting utilities (sa, etc.)
|
||||||
# aws-ena-driver-vanilla - Enhanced Network Adapter kernel module
|
# aws-ena-driver-vanilla - Enhanced Network Adapter kernel module
|
||||||
"add_pkgs": "acct aws-ena-driver-vanilla@edge-testing",
|
# e2fsprogs-extra - ec2-tiny-bootstrap's currently undeclared dependency (resize2fs)
|
||||||
|
"add_pkgs": "acct aws-ena-driver-vanilla@edge-testing e2fsprogs-extra",
|
||||||
|
|
||||||
# Enable ENA/SRIOV support on the AMI.
|
# Enable ENA/SRIOV support on the AMI.
|
||||||
"ena_enable": "true",
|
"ena_enable": "true",
|
||||||
|
Loading…
Reference in New Issue
Block a user