Skip to content

Commit baf7c52

Browse files
Merge branch 'main' into test
2 parents af27ee4 + 6ed7281 commit baf7c52

File tree

3 files changed

+13
-141
lines changed

3 files changed

+13
-141
lines changed

whmcs/modules/servers/virtualizor_cloud/autoinstall.php

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,28 +29,29 @@ function virtualizor_cloud_installpredefined()
2929
'almalinux-8.4-x86_64|AlmaLinux 8 (64 bit)',
3030
'almalinux-9.2-x86_64|AlmaLinux 9 (64 bit)',
3131
'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)',
3333
'rocky-8.4-x86_64|Rocky Linux 8 (64 bit)',
3434
'rocky-9.1-x86_64|Rocky Linux 9 (64 bit)',
3535
'centos-7.8-x86_64|CentOS 7 (64 bit)',
3636
'centos-8.2-x86_64|CentOS 8 (64 bit)',
3737
'debian-9.4-x86_64|Debian 9 (64 bit)',
3838
'debian-10-x86_64|Debian 10 (64 bit)',
3939
'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)',
4141
'fedora-34-x86_64|Fedora 34 (64 bit)',
4242
'scientific-7.4-x86_64|Scientific Linux 7.4 (64 bit)',
43+
'suse-13.1-x86_64|openSUSE 13.1 (64 bit)',
4344
'suse-15.1-x86_64|openSUSE 15.1 (64 bit)',
4445
'ubuntu-18.04-x86_64|Ubuntu 18.04 (64 bit)',
4546
'ubuntu-20.04-x86_64|Ubuntu 20.04 (64 bit)',
4647
'ubuntu-22.04-x86_64|Ubuntu 22.04 (64 bit)',
4748
'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)',
5455
];
5556
$currenciesarray = Capsule::table('tblcurrencies')->pluck('code', 'id');
5657
if (!is_array($currenciesarray)) {
@@ -99,7 +100,7 @@ function virtualizor_cloud_installpredefined()
99100
$newProduct = new WHMCS\Product\Product();
100101
$newProduct->type = 'server';
101102
$newProduct->productGroupId = $groupId;
102-
$newProduct->name = 'KVM-1GB';
103+
$newProduct->name = 'KVM-SSD-1GB';
103104
$newProduct->paymentType = "free";
104105
$newProduct->showDomainOptions = 0;
105106
$newProduct->module = 'virtualizor_cloud';
@@ -115,8 +116,8 @@ function virtualizor_cloud_installpredefined()
115116
Capsule::table('tblproducts_slugs')->insert([
116117
'product_id' => $newProduct->id,
117118
'group_id' => $groupId,
118-
'group_slug' => 'vps-servers',
119-
'slug' => 'kvm-1gb',
119+
'group_slug' => 'cloud-vps',
120+
'slug' => 'kvm-ssd-1gb',
120121
'active' => 1,
121122
'clicks' => 1,
122123
]);

whmcs/modules/servers/virtualizor_cloud/autoinstall.php.bak

Lines changed: 0 additions & 129 deletions
This file was deleted.

whmcs/modules/servers/virtualizor_cloud/whmcs.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"homepage": "https:\/\/radwebhosting.com\/",
2525
"learn_more": "https:\/\/radwebhosting.com\/vps-reseller",
2626
"email": "[email protected]",
27-
"support_url": "https:\/\/radwebhosting.com\/client_area\/submitticket.php",
27+
"support_url": "https:\/\/radwebhosting.com\/support",
2828
"docs_url": "https:\/\/radwebhosting.com\/client_area\/knowledgebase.php"
2929
},
3030
"authors": [

0 commit comments

Comments
 (0)