diff options
| author | picca <picca@web> | 2017-08-22 08:42:35 +0000 |
|---|---|---|
| committer | admin <admin@branchable.com> | 2017-08-22 08:42:35 +0000 |
| commit | a2900178b02f6458d1b048a5b029f6664343d605 (patch) | |
| tree | ac9f6c3491e31c83009b94a6122a5a39db5b0f8c /doc | |
| parent | 0233979737e950b437537cc943a2cf29188c2a22 (diff) | |
Added a comment
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/forum/DiskImage_creation_does_not_work_on_my_system/comment_4_fc50b46606eacf59e5db227760ce38ab._comment | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/doc/forum/DiskImage_creation_does_not_work_on_my_system/comment_4_fc50b46606eacf59e5db227760ce38ab._comment b/doc/forum/DiskImage_creation_does_not_work_on_my_system/comment_4_fc50b46606eacf59e5db227760ce38ab._comment new file mode 100644 index 00000000..27b70a57 --- /dev/null +++ b/doc/forum/DiskImage_creation_does_not_work_on_my_system/comment_4_fc50b46606eacf59e5db227760ce38ab._comment @@ -0,0 +1,24 @@ +[[!comment format=mdwn + username="picca" + avatar="http://cdn.libravatar.org/avatar/7e61c80d28018b10d31f6db7dddb864c" + subject="comment 4" + date="2017-08-22T08:42:35Z" + content=""" + vmdkBuiltFor :: FilePath -> RevertableProperty DebianLike UnixLike + vmdkBuiltFor diskimage = (setup <!> cleanup) + `describe` (vmdkfile ++ \" built\") + where + vmdkfile = diskimage ++ \".vmdk\" + setup = cmdProperty \"qemu-img\" + [ \"convert\" + , \"-O\", \"vmdk\" + , diskimage, vmdkfile + ] + `changesFile` vmdkfile + `onChange` File.mode vmdkfile (combineModes (ownerWriteMode : readModes)) + `requires` Apt.installed [\"qemu-utils\"] + `requires` File.notPresent vmdkfile + cleanup = File.notPresent vmdkfile + +seems to work :)) +"""]] |
