]>
git.proxmox.com Git - pve-container.git/blob - src/PVE/LXC/Setup/Fedora.pm
1 package PVE
::LXC
::Setup
::Fedora
;
6 use PVE
::LXC
::Setup
::CentOS
;
8 use base
qw(PVE::LXC::Setup::CentOS);
11 my ($class, $conf, $rootdir, $os_release) = @_;
13 my $version = $os_release->{VERSION_ID
};
14 die "unsupported fedora release\n" if !($version >= 22 && $version <= 28);
16 my $self = { conf
=> $conf, rootdir
=> $rootdir, version
=> $version };
18 $conf->{ostype
} = "fedora";
20 return bless $self, $class;
24 my ($self, $conf) = @_;
25 $self->setup_securetty($conf);
26 $self->ct_unlink('/etc/systemd/system/getty@.service');
30 my ($self, $conf) = @_;
31 $self->setup_container_getty_service($conf);