]> git.proxmox.com Git - pve-container.git/commit
setup getty: ensure the correct services are enabled
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 17 Jul 2019 10:02:34 +0000 (12:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 19 Jul 2019 12:23:17 +0000 (14:23 +0200)
commit73aa033d569a953428962cdace7b31c11ef20ec8
tree51c072d76712f13066ae4ea4af314892dcf7e681
parentdd7a436bcbea44cbcbfabcec50a674a1fe35f667
setup getty: ensure the correct services are enabled

I.e., some distro templates do not have anything enabled, thus also
ensure that the respective container-getty@ services are enabled.

But, as to getty on the same TTY makes for a strange experience also
ensure that the getty@ are all removed (and vice versa in the other
case)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
src/PVE/LXC/Setup/Base.pm