]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Setup/ArchLinux.pm
ArchLinux: don't use the lxc/ subdir for ttys
[pve-container.git] / src / PVE / LXC / Setup / ArchLinux.pm
index 1e60fa6a59a00477c98979973b974a0e3f4ffbd8..e93293f2abf2eee1fbe99b74ff0c6c868a3e3abc 100644 (file)
@@ -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 {