Skip to content
Snippets Groups Projects
Commit 74a4c11b authored by Guido Trotter's avatar Guido Trotter
Browse files

Fix indentation error


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

Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
Reviewed-by: default avatarIustin Pop <iustin@google.com>
parent fde0203b
No related branches found
No related tags found
No related merge requests found
......@@ -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'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment