[pve-devel] [PATCH container 2/2] ArchLinux: don't use the lxc/ subdir for ttys
Wolfgang Bumiller
w.bumiller at proxmox.com
Wed Jul 27 11:05:52 CEST 2016
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
More information about the pve-devel
mailing list