Skip to content

Instantly share code, notes, and snippets.

@arax
Created August 1, 2012 10:01
Show Gist options
  • Save arax/3225574 to your computer and use it in GitHub Desktop.
Save arax/3225574 to your computer and use it in GitHub Desktop.
rOCCI-server OpenNebula storage model patch
diff --git a/etc/backend/opennebula/model/infrastructure/storage.json b/etc/backend/opennebula/model/infrastructure/storage.json
index 8612a6c..3670fcb 100644
--- a/etc/backend/opennebula/model/infrastructure/storage.json
+++ b/etc/backend/opennebula/model/infrastructure/storage.json
@@ -22,11 +22,11 @@
},
"bus":{
"Description":"Type of disk device to emulate.",
- "Pattern": "IDE|SCSI|virtio"
+ "Pattern": "ide|IDE|scsi|SCSI|virtio"
},
"driver":{
"Description":"Specific image mapping driver. VMware is unsupported",
- "Pattern": "raw|qcow2|tap:aio:|file:"
+ "Pattern": "raw|qcow2|tap2:tapdisk:aio:|tap:aio:|file:"
},
"fstype":{
"Description":"Type of file system to be built. This can be any value understood by mkfs unix command."
@@ -37,4 +37,5 @@
}
}
]
-}
\ No newline at end of file
+}
+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment