]> git.proxmox.com Git - pve-container.git/blobdiff - src/PVE/LXC/Setup/SUSE.pm
setup: move setup_container_getty_service to Base
[pve-container.git] / src / PVE / LXC / Setup / SUSE.pm
index 165f2da2abf9bef2c1060ad169ce8a05825e660a..b7814fa10a6def40c2a06acb9959ea9012f96ec4 100644 (file)
@@ -49,15 +49,6 @@ sub setup_init {
     $self->setup_systemd_console($conf);
 }
 
-sub setup_container_getty_service {
-    my ($self) = @_;
-    my $servicefile = '/usr/lib/systemd/system/container-getty@.service';
-    my $raw = $self->ct_file_get_contents($servicefile);
-    if ($raw =~ s@pts/%I@lxc/tty%I@g) {
-       $self->ct_file_set_contents($servicefile, $raw);
-    }
-}
-
 sub setup_network {
     my ($self, $conf) = @_;