Add initial templates for ec2-arm64 and ec2-x86-64 MACHINES
[AGL/meta-agl.git] / templates / machine / aws-ec2-arm64 / 50_local.conf.inc
1 MACHINE = "aws-ec2-arm64"
2
3 VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"
4 IMAGE_INSTALL:append = " cloud-init"
5 DISTRO_FEATURES:append = " virtualization"
6
7
8 # can we shuffle this out so CI still works
9 INHERIT += "extrausers"
10 # Hardening: Locking the root password. Creating the user without password for ssh key-based login only
11 EXTRA_USERS_PARAMS = "usermod -L root; useradd -p '*' user"
12
13 EXTRA_IMAGE_FEATURES:append = " ssh-server-openssh"
14
15 # Forcing removal of debug-tweakes as that leads to reversing some sshd_config hardening done in our bbappend when do_rootfs runs
16 EXTRA_IMAGE_FEATURES:remove = "debug-tweaks"
17
18 AGL_DEFAULT_IMAGE_FSTYPES := "wic.vhd"
19
20 # workaround bug in cloud-init leading to empty cloud-init-systemd package
21 PACKAGES:pn-cloud-init:forcevariable = "cloud-init-src cloud-init-dbg cloud-init-staticdev cloud-init-dev cloud-init-doc cloud-init-locale  cloud-init-systemd cloud-init"