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

Wolfgang Link w.link at proxmox.com
Wed Mar 6 14:35:44 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxinstall b/proxinstall
index f2414db..f0cc731 100755
--- a/proxinstall
+++ b/proxinstall
@@ -691,7 +691,7 @@ sub get_partition_dev {
 
     if ($dev =~ m|^/dev/sd([a-h]?[a-z]\|i[a-v])$|) {
 	return "${dev}$partnum";
-    } elsif ($dev =~ m|^/dev/[hxev]d[a-z]$|) {
+    } elsif ($dev =~ m|^/dev/[hxev]x?d[a-z]$|) {
 	return "${dev}$partnum";
     } elsif ($dev =~ m|^/dev/[^/]+/c\d+d\d+$|) {
 	return "${dev}p$partnum";
-- 
2.11.0





More information about the pve-devel mailing list