--- Allows moving away from an lxc/ subdir configuration (needed by the second patch (otherwise arch users have to wait for a systemd package upgrade for the change to take effect.)
src/PVE/LXC/Setup/Base.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/LXC/Setup/Base.pm b/src/PVE/LXC/Setup/Base.pm index 927f779..32c1491 100644 --- a/src/PVE/LXC/Setup/Base.pm +++ b/src/PVE/LXC/Setup/Base.pm @@ -205,7 +205,7 @@ sub setup_container_getty_service { my $servicefile = "$systemd_dir_rel/container-getty\@.service"; my $raw = $self->ct_file_get_contents($servicefile); my $ttyname = ($nosubdir ? '' : 'lxc/') . 'tty%I'; - if ($raw =~ s@pts/%I@$ttyname@g) { + if ($raw =~ s@pts/%I|lxc/tty%I@$ttyname@g) { $self->ct_file_set_contents($servicefile, $raw); } } -- 2.1.4 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel