@@ -29,28 +29,29 @@ function virtualizor_cloud_installpredefined()
29
29
'almalinux-8.4-x86_64|AlmaLinux 8 (64 bit) ' ,
30
30
'almalinux-9.2-x86_64|AlmaLinux 9 (64 bit) ' ,
31
31
'oracle-8.6-x86_64|Oracle Linux 8 (64 bit) ' ,
32
- 'oracle-9.2-x86_64|Oracle Linux 8 (64 bit) ' ,
32
+ 'oracle-9.2-x86_64|Oracle Linux 8 (64 bit) ' ,
33
33
'rocky-8.4-x86_64|Rocky Linux 8 (64 bit) ' ,
34
34
'rocky-9.1-x86_64|Rocky Linux 9 (64 bit) ' ,
35
35
'centos-7.8-x86_64|CentOS 7 (64 bit) ' ,
36
36
'centos-8.2-x86_64|CentOS 8 (64 bit) ' ,
37
37
'debian-9.4-x86_64|Debian 9 (64 bit) ' ,
38
38
'debian-10-x86_64|Debian 10 (64 bit) ' ,
39
39
'debian-11-x86_64|Debian 11 (64 bit) ' ,
40
- 'debian-12-x86_64|Debian 11 (64 bit) ' ,
40
+ 'debian-12-x86_64|Debian 11 (64 bit) ' ,
41
41
'fedora-34-x86_64|Fedora 34 (64 bit) ' ,
42
42
'scientific-7.4-x86_64|Scientific Linux 7.4 (64 bit) ' ,
43
+ 'suse-13.1-x86_64|openSUSE 13.1 (64 bit) ' ,
43
44
'suse-15.1-x86_64|openSUSE 15.1 (64 bit) ' ,
44
45
'ubuntu-18.04-x86_64|Ubuntu 18.04 (64 bit) ' ,
45
46
'ubuntu-20.04-x86_64|Ubuntu 20.04 (64 bit) ' ,
46
47
'ubuntu-22.04-x86_64|Ubuntu 22.04 (64 bit) ' ,
47
48
'cyberpanel-centos7-x86_64|CyberPanel (64 bit) (10GB+ Disk) ' ,
48
- 'azuracast-20.04-lts-x86_64|AzuraCast on Focal (64 bit) (10GB+ Disk) ' ,
49
- 'windows-2008r2|Windows Server 2008 R2 EVAL (15GB+ Disk) ' ,
50
- 'windows-2012r2|Windows Server 2012 R2 EVAL (15GB+ Disk) ' ,
51
- 'windows-2016|Windows Server 2016 EVAL (20GB+ Disk) ' ,
52
- 'windows-2019|Windows Server 2019 EVAL (20GB+ Disk) ' ,
53
- 'windows-2022|Windows Server 2022 EVAL (20GB+ Disk) ' ,
49
+ 'azuracast-20.04-lts-x86_64|AzuraCast on Focal (64 bit) (10GB+ Disk) ' ,
50
+ 'windows-2008r2|Windows Server 2008 R2 EVAL (15GB+ Disk) ' ,
51
+ 'windows-2012r2|Windows Server 2012 R2 EVAL (15GB+ Disk) ' ,
52
+ 'windows-2016|Windows Server 2016 EVAL (20GB+ Disk) ' ,
53
+ 'windows-2019|Windows Server 2019 EVAL (20GB+ Disk) ' ,
54
+ 'windows-2022|Windows Server 2022 EVAL (20GB+ Disk) ' ,
54
55
];
55
56
$ currenciesarray = Capsule::table ('tblcurrencies ' )->pluck ('code ' , 'id ' );
56
57
if (!is_array ($ currenciesarray )) {
@@ -99,7 +100,7 @@ function virtualizor_cloud_installpredefined()
99
100
$ newProduct = new WHMCS \Product \Product ();
100
101
$ newProduct ->type = 'server ' ;
101
102
$ newProduct ->productGroupId = $ groupId ;
102
- $ newProduct ->name = 'KVM-1GB ' ;
103
+ $ newProduct ->name = 'KVM-SSD- 1GB ' ;
103
104
$ newProduct ->paymentType = "free " ;
104
105
$ newProduct ->showDomainOptions = 0 ;
105
106
$ newProduct ->module = 'virtualizor_cloud ' ;
@@ -115,8 +116,8 @@ function virtualizor_cloud_installpredefined()
115
116
Capsule::table ('tblproducts_slugs ' )->insert ([
116
117
'product_id ' => $ newProduct ->id ,
117
118
'group_id ' => $ groupId ,
118
- 'group_slug ' => 'vps-servers ' ,
119
- 'slug ' => 'kvm-1gb ' ,
119
+ 'group_slug ' => 'cloud-vps ' ,
120
+ 'slug ' => 'kvm-ssd- 1gb ' ,
120
121
'active ' => 1 ,
121
122
'clicks ' => 1 ,
122
123
]);
0 commit comments