1 package PVE
::LXC
::Setup
::Plugin
;
3 # the abstract Plugin interface which user should restrict themself too
11 my ($class, $conf, $rootdir, $os_release) = @_;
12 croak
"implement me in sub-class\n";
16 my ($self, $conf) = @_;
17 croak
"implement me in sub-class\n";
21 my ($self, $conf) = @_;
22 croak
"implement me in sub-class\n";
26 my ($self, $conf) = @_;
27 croak
"implement me in sub-class\n";
31 my ($self, $conf) = @_;
32 croak
"implement me in sub-class\n";
36 my ($self, $conf) = @_;
37 croak
"implement me in sub-class\n";
41 my ($self, $conf) = @_;
42 croak
"implement me in sub-class\n";
45 sub set_user_password
{
46 my ($self, $conf, $user, $opt_password) = @_;
47 croak
"implement me in sub-class\n";
50 sub unified_cgroupv2_support
{
51 my ($self, $init) = @_;
52 croak
"implement me in sub-class\n";
55 sub ssh_host_key_types_to_generate
{
57 croak
"implement me in sub-class\n";
63 my ($self, $conf) = @_;
64 croak
"implement me in sub-class";
68 my ($self, $conf) = @_;
69 croak
"implement me in sub-class";
72 sub post_create_hook
{
73 my ($self, $conf, $root_password, $ssh_keys) = @_;
74 croak
"implement me in sub-class";