Warn that VMware and VirtualBox support is deprecated

This commit is contained in:
grossmj 2023-02-05 10:07:26 +08:00
parent d982ae0a00
commit 8e338da896
2 changed files with 2 additions and 0 deletions

View File

@ -37,6 +37,7 @@ export class AddVirtualBoxTemplateComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
this.toasterService.warning(`VirtualBox VM support is deprecated and will be removed in a future version, please use Qemu VMs instead`);
const controller_id = this.route.snapshot.paramMap.get('controller_id'); const controller_id = this.route.snapshot.paramMap.get('controller_id');
this.controllerService.get(parseInt(controller_id, 10)).then((controller:Controller ) => { this.controllerService.get(parseInt(controller_id, 10)).then((controller:Controller ) => {
this.controller = controller; this.controller = controller;

View File

@ -37,6 +37,7 @@ export class AddVmwareTemplateComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
this.toasterService.warning(`VMware VM support is deprecated and will be removed in a future version, please use Qemu VMs instead`);
const controller_id = this.route.snapshot.paramMap.get('controller_id'); const controller_id = this.route.snapshot.paramMap.get('controller_id');
this.controllerService.get(parseInt(controller_id, 10)).then((controller:Controller ) => { this.controllerService.get(parseInt(controller_id, 10)).then((controller:Controller ) => {
this.controller = controller; this.controller = controller;