diff --git a/meta-isar/recipes-installer/deploy-image-service/deploy-image-service.bb b/meta-isar/recipes-installer/deploy-image-service/deploy-image-service.bb
index 0fa3dcf3..fbcfbbfa 100644
--- a/meta-isar/recipes-installer/deploy-image-service/deploy-image-service.bb
+++ b/meta-isar/recipes-installer/deploy-image-service/deploy-image-service.bb
@@ -13,9 +13,14 @@ SRC_URI = "file://install.override.conf \
 DEPENDS += " deploy-image"
 DEBIAN_DEPENDS = "deploy-image"
 
+INSTALLER_GETTY_TARGETS ?= "getty@tty1 serial-getty@ttyS0"
+
 do_install[cleandirs] = "${D}/usr/lib/systemd/system/getty@tty1.service.d/ \
                          ${D}/usr/lib/systemd/system/serial-getty@ttyS0.service.d/"
 do_install() {
-  install -m 0600 ${WORKDIR}/install.override.conf ${D}/usr/lib/systemd/system/getty@tty1.service.d/override.conf
-  install -m 0600 ${WORKDIR}/install.override.conf ${D}/usr/lib/systemd/system/serial-getty@ttyS0.service.d/override.conf
+  for target in ${INSTALLER_GETTY_TARGETS}; do
+    rm -rf ${D}/usr/lib/systemd/system/${target}.service.d/*
+    install -d -m 0700 ${D}/usr/lib/systemd/system/${target}.service.d/
+    install -m 0600 ${WORKDIR}/install.override.conf ${D}/usr/lib/systemd/system/${target}.service.d/
+  done
 }
