2015-11-06 13:20:06 +00:00
|
|
|
LC_ALL=C \
|
|
|
|
PATH=/sbin:/usr/sbin:/bin:/usr/bin \
|
|
|
|
HOME=/root \
|
|
|
|
USER=root \
|
|
|
|
LOGNAME=root \
|
|
|
|
/usr/bin/qemu \
|
|
|
|
-name encryptdisk \
|
|
|
|
-S \
|
|
|
|
-M pc-0.13 \
|
|
|
|
-m 1024 \
|
|
|
|
-smp 1,sockets=1,cores=1,threads=1 \
|
|
|
|
-uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
|
2015-11-06 14:29:52 +00:00
|
|
|
-uuid 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 \
|
2015-11-06 13:20:06 +00:00
|
|
|
-nographic \
|
|
|
|
-nodefconfig \
|
|
|
|
-nodefaults \
|
|
|
|
-chardev socket,id=monitor,path=//var/lib/libvirt/qemu/encryptdisk.monitor,\
|
|
|
|
server,nowait \
|
|
|
|
-mon chardev=monitor,mode=readline \
|
|
|
|
-rtc base=utc \
|
|
|
|
-no-acpi \
|
|
|
|
-boot c \
|
|
|
|
-usb \
|
2015-12-28 14:13:52 +00:00
|
|
|
-drive file=/storage/guest_disks/encryptdisk,format=raw,if=none,\
|
|
|
|
id=drive-virtio-disk0,\,boot=on \
|
2015-11-06 13:20:06 +00:00
|
|
|
-device virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,\
|
|
|
|
id=virtio-disk0 \
|
|
|
|
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3
|