mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-19 11:22:55 +09:00
feature #1163: use image format as prefix for disks
This commit is contained in:
1 parent
abc4bbb6d3
commit
ff01b7b5ad
3 files changed
+3
-3
No files matched your search
@@ -28,6 +28,6 @@
|
||||
#OS = [ kernel="/vmlinuz", initrd="/initrd.img", root="sda1", kernel_cmd="ro", hvm="yes" ]
|
||||
|
||||
CREDIT = 256
|
||||
DISK = [ driver = "tap2:tapdisk:aio:" ]
|
||||
DISK = [ driver = "raw:" ]
|
||||
|
||||
#RAW = "data=\"on_crash=destroy\""
|
||||
@@ -47,7 +47,7 @@ READONLY="${XPATH_ELEMENTS[2]}"
|
||||
BUS="${XPATH_ELEMENTS[3]}"
|
||||
CACHE="${XPATH_ELEMENTS[4]}"
|
||||
|
||||
DEFAULT_FILE_PREFIX="file"
|
||||
DEFAULT_FILE_PREFIX="raw"
|
||||
|
||||
if [ -n "$IMAGE_PREFIX" ]; then
|
||||
DEFAULT_FILE_PREFIX="$IMAGE_PREFIX"
|
||||
|
||||
@@ -41,7 +41,7 @@ export XM_CREDITS="sudo $XM_PATH sched-credit"
|
||||
# Xen 4 uses the new blktap2 and tap:aio handler is no longer supported.
|
||||
# To make it work uncomment this line. This will be used as the default
|
||||
# handler for disk hot plug
|
||||
export IMAGE_PREFIX="tap2:tapdisk:aio"
|
||||
export IMAGE_PREFIX="raw"
|
||||
|
||||
# Seconds to wait after shutdown until timeout
|
||||
export SHUTDOWN_TIMEOUT=300
|
||||
|
||||
Reference in new issue
Block a user