diff options
Diffstat (limited to 'make_ami.sh')
-rwxr-xr-x | make_ami.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/make_ami.sh b/make_ami.sh index 8c00a6c..d6c65f7 100755 --- a/make_ami.sh +++ b/make_ami.sh | |||
@@ -142,8 +142,9 @@ install_core_packages() { | |||
142 | chroot "$target" apk --no-cache add \ | 142 | chroot "$target" apk --no-cache add \ |
143 | linux-virt \ | 143 | linux-virt \ |
144 | alpine-mirrors \ | 144 | alpine-mirrors \ |
145 | nvme-cli \ | ||
146 | chrony \ | 145 | chrony \ |
146 | haveged \ | ||
147 | nvme-cli \ | ||
147 | openssh \ | 148 | openssh \ |
148 | sudo \ | 149 | sudo \ |
149 | tiny-ec2-bootstrap \ | 150 | tiny-ec2-bootstrap \ |
@@ -240,10 +241,10 @@ enable_services() { | |||
240 | local target="$1" | 241 | local target="$1" |
241 | local add_svcs="$2" | 242 | local add_svcs="$2" |
242 | 243 | ||
243 | rc_add "$target" default sshd chronyd networking tiny-ec2-bootstrap | 244 | rc_add "$target" default chronyd networking sshd tiny-ec2-bootstrap |
244 | rc_add "$target" sysinit devfs dmesg mdev hwdrivers | 245 | rc_add "$target" sysinit devfs dmesg hwdrivers mdev |
245 | rc_add "$target" boot modules hwclock swap hostname sysctl bootmisc syslog acpid | 246 | rc_add "$target" boot acpid bootmisc haveged hostname hwclock modules swap sysctl syslog |
246 | rc_add "$target" shutdown killprocs savecache mount-ro | 247 | rc_add "$target" shutdown killprocs mount-ro savecache |
247 | 248 | ||
248 | if [ -n "$add_svcs" ]; then | 249 | if [ -n "$add_svcs" ]; then |
249 | local lvl_svcs; for lvl_svcs in $(echo "$add_svcs" | tr : ' '); do | 250 | local lvl_svcs; for lvl_svcs in $(echo "$add_svcs" | tr : ' '); do |