]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Setup/Gentoo.pm
setup: more general approach to tty paths
[pve-container.git] / src / PVE / LXC / Setup / Gentoo.pm
index c1810bbcf5a9dd3ac51275e999b9a4fcdc418f73..6dc8e9fb489bb5c00e1cb02d4ee886e9123c01b6 100644 (file)
@@ -27,9 +27,14 @@ sub new {
     return bless $self, $class;
 }
 
+# Gentoo doesn't support the /dev/lxc/ subdirectory
+sub devttydir {
+    return '';
+}
+
 sub template_fixup {
     my ($self, $conf) = @_;
-    $self->setup_securetty($conf, qw(lxc/console lxc/tty1 lxc/tty2 lxc/tty3 lxc/tty4));
+    $self->setup_securetty($conf);
 }
 
 sub setup_init {