diff --git a/systemd/coreos-installer-generator b/systemd/coreos-installer-generator
index 2b85dc5..75ab3c3 100755
--- a/systemd/coreos-installer-generator
+++ b/systemd/coreos-installer-generator
@@ -39,6 +39,11 @@ karg_bool() {
esac
}
+# if we're not running in dracut, skip
+if [ -z "$(karg edge.liveiso)" ]; then
+ exit 0
+fi
+
if [ -n "$(karg coreos.inst.install_dev)" ]; then
# ln -sf "/usr/lib/systemd/system/coreos-installer-post.target" \
# "${UNIT_DIR}/basic.target"