[pve-devel] [installer PATCHV2] Add support for Citrix Hypervisor blockdev.

Wolfgang Link w.link at proxmox.com
Wed Mar 6 15:52:58 CET 2019


Citrix Hypervisor use as blockdev path /dev/xvd<[a-z]><\d>
It makes sense for Proxmox Mail Gateway to run on Citrix Hypervisor.

Citrix Hypervisor recent XenServer.
---
 proxinstall | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/proxinstall b/proxinstall
index f2414db..33c5765 100755
--- a/proxinstall
+++ b/proxinstall
@@ -691,6 +691,9 @@ sub get_partition_dev {
 
     if ($dev =~ m|^/dev/sd([a-h]?[a-z]\|i[a-v])$|) {
 	return "${dev}$partnum";
+    # Citrix Hypervisor blockdev
+    } elsif ($dev =~ m|^/dev/xvd[a-z]$|) {
+	return "${dev}$partnum";
     } elsif ($dev =~ m|^/dev/[hxev]d[a-z]$|) {
 	return "${dev}$partnum";
     } elsif ($dev =~ m|^/dev/[^/]+/c\d+d\d+$|) {
-- 
2.11.0




More information about the pve-devel mailing list