From 74a4c11bc526edd33e8620b1799618b482660025 Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Wed, 21 Apr 2010 17:41:30 +0100
Subject: [PATCH] Fix indentation error

Commit 9cf4321fc39ec36359d9c90b22b36d33b6adc2f4 indented some lines by
4 spaces rather than 2, and was git-amed without noticing. Fixing.

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Iustin Pop <iustin@google.com>
---
 lib/hypervisor/hv_kvm.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/lib/hypervisor/hv_kvm.py b/lib/hypervisor/hv_kvm.py
index 589c08a5a..b311a8de5 100644
--- a/lib/hypervisor/hv_kvm.py
+++ b/lib/hypervisor/hv_kvm.py
@@ -425,9 +425,9 @@ class KVMHypervisor(hv_base.BaseHypervisor):
       if boot_disk:
         kvm_cmd.extend(['-boot', 'c'])
         if disk_type != constants.HT_DISK_IDE:
-            boot_val = ',boot=on'
+          boot_val = ',boot=on'
         else:
-            boot_val = ''
+          boot_val = ''
         # We only boot from the first disk
         boot_disk = False
       else:
@@ -443,7 +443,7 @@ class KVMHypervisor(hv_base.BaseHypervisor):
       if boot_cdrom:
         kvm_cmd.extend(['-boot', 'd'])
         if disk_type != constants.HT_DISK_IDE:
-            options = '%s,boot=on' % options
+          options = '%s,boot=on' % options
       else:
         if disk_type == constants.HT_DISK_PARAVIRTUAL:
           if_val = ',if=virtio'
-- 
GitLab