]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Setup/Base.pm
setup getty: ensure the getty.target is not masked
[pve-container.git] / src / PVE / LXC / Setup / Base.pm
index 65b5466ab80ecd006b59e2f86360f919092ea1d4..72ac0f701aab680b27269c8e8ef01cb5213dafb7 100644 (file)
@@ -228,6 +228,9 @@ sub setup_container_getty_service {
            $self->ct_symlink($template_path, "$getty_target_fn/$tty_service");
        }
     }
+
+    # ensure getty.target is not masked
+    $self->ct_unlink("/etc/systemd/system/getty.target");
 }
 
 sub setup_systemd_networkd {