From 1cd8141cc73bb67613d4ce6b88ceaa9a70823229 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Mon, 16 Feb 2009 12:09:25 +0000
Subject: [PATCH] Convert default root partition to msdos style

As discussed with 2.0 msdos partition style should be the default in the
instance OS, so we're changing the default instance params accordingly.
A followup patch will update the debootstrap os.

Reviewed-by: iustinp
---
 lib/constants.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/constants.py b/lib/constants.py
index a50526efa..1cd7b8ef5 100644
--- a/lib/constants.py
+++ b/lib/constants.py
@@ -473,7 +473,7 @@ HVC_DEFAULTS = {
   HT_XEN_PVM: {
     HV_KERNEL_PATH: "/boot/vmlinuz-2.6-xenU",
     HV_INITRD_PATH: '',
-    HV_ROOT_PATH: '/dev/sda',
+    HV_ROOT_PATH: '/dev/sda1',
     },
   HT_XEN_HVM: {
     HV_BOOT_ORDER: "cd",
@@ -487,7 +487,7 @@ HVC_DEFAULTS = {
   HT_KVM: {
     HV_KERNEL_PATH: "/boot/vmlinuz-2.6-kvmU",
     HV_INITRD_PATH: '',
-    HV_ROOT_PATH: '/dev/vda',
+    HV_ROOT_PATH: '/dev/vda1',
     HV_ACPI: True,
     HV_SERIAL_CONSOLE: True,
     HV_VNC_BIND_ADDRESS: '',
-- 
GitLab