Convert default root partition to msdos style
authorGuido Trotter <ultrotter@google.com>
Mon, 16 Feb 2009 12:09:25 +0000 (12:09 +0000)
committerGuido Trotter <ultrotter@google.com>
Mon, 16 Feb 2009 12:09:25 +0000 (12:09 +0000)
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

index a50526e..1cd7b8e 100644 (file)
@@ -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: '',