As lxc's archlinux config doesn't set the lxc/ tty subdir by
default either.
---
 src/PVE/LXC/Setup/ArchLinux.pm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/PVE/LXC/Setup/ArchLinux.pm b/src/PVE/LXC/Setup/ArchLinux.pm
index 1e60fa6..e93293f 100644
--- a/src/PVE/LXC/Setup/ArchLinux.pm
+++ b/src/PVE/LXC/Setup/ArchLinux.pm
@@ -39,12 +39,12 @@ sub template_fixup {
                       
'/etc/systemd/system/socket.target.wants/systemd-networkd.socket');
 
     # edit /etc/securetty (enable login on console)
-    $self->setup_securetty($conf, qw(lxc/console lxc/tty1 lxc/tty2 lxc/tty3 
lxc/tty4));
+    $self->setup_securetty($conf, qw(console tty1 tty2 tty3 tty4));
 }
 
 sub setup_init {
     my ($self, $conf) = @_;
-    $self->setup_container_getty_service();
+    $self->setup_container_getty_service(1);
 }
 
 sub setup_network {
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to