diff --git a/PBot/VERSION.pm b/PBot/VERSION.pm index add701bd..3ae5e801 100644 --- a/PBot/VERSION.pm +++ b/PBot/VERSION.pm @@ -13,7 +13,7 @@ use warnings; # These are set automatically by the build/commit script use constant { BUILD_NAME => "PBot", - BUILD_REVISION => 388, + BUILD_REVISION => 389, BUILD_DATE => "2012-10-24", }; diff --git a/modules/compiler_vm/mount_edit b/modules/compiler_vm/mount_edit new file mode 100755 index 00000000..0dac571b --- /dev/null +++ b/modules/compiler_vm/mount_edit @@ -0,0 +1,4 @@ +modprobe nbd max_part=16 +qemu-nbd -c /dev/nbd0 compiler-savedvm-edit.qcow2 +partprobe /dev/nbd0 +mount /dev/nbd0p1 edit diff --git a/modules/compiler_vm/umount_edit b/modules/compiler_vm/umount_edit new file mode 100755 index 00000000..31bbefc7 --- /dev/null +++ b/modules/compiler_vm/umount_edit @@ -0,0 +1,3 @@ +umount edit +qemu-nbd -d /dev/nbd0 +killall qemu-nbd