From ae8de7e38c8229d86be9625cf65007eaa8f956bb Mon Sep 17 00:00:00 2001 From: Guido Trotter Date: Tue, 12 Feb 2013 10:39:16 +0100 Subject: [PATCH] Change default xen root path to /dev/xvda1 All recent-enough versions of linux see the xen paravirtual device as /dev/xvd*. This doesn't break old installations, as the default is only used on new clusters. Signed-off-by: Guido Trotter Reviewed-by: Michele Tartara --- lib/constants.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/constants.py b/lib/constants.py index 80bd5d4..884eb6b 100644 --- a/lib/constants.py +++ b/lib/constants.py @@ -1891,7 +1891,7 @@ HVC_DEFAULTS = { HV_BOOTLOADER_ARGS: "", HV_KERNEL_PATH: XEN_KERNEL, HV_INITRD_PATH: "", - HV_ROOT_PATH: "/dev/sda1", + HV_ROOT_PATH: "/dev/xvda1", HV_KERNEL_ARGS: "ro", HV_MIGRATION_PORT: 8002, HV_MIGRATION_MODE: HT_MIGRATION_LIVE, -- 1.7.10.4