diff options
author | Thanos Apollo <[email protected]> | 2023-08-20 12:05:55 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-08-20 12:05:55 +0300 |
commit | a1235e08f815df7d87cf975b4ba9b8459415d666 (patch) | |
tree | 2d9f279caf1ef2705f9ddbcf7031b8b565e244b7 /emacs.org | |
parent | 1c0c3aecff1f7d8228c274d4b6693b172e14e7e0 (diff) |
emacs: update vm manager
Diffstat (limited to 'emacs.org')
-rwxr-xr-x | emacs.org | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -304,11 +304,11 @@ Generate a random password between 20 and 40 characters (cores (read-string "Cores: ")) (image (read-file-name "Image: " vm-directory)) (iso (if (y-or-n-p "Load iso?? ") - (read-file-name "ISO: ") - nil))) - (async-shell-command + (read-file-name "ISO: ") + nil))) + (start-process-shell-command "virtual-machine" nil (format "qemu-system-x86_64 -enable-kvm -m %s -smp %s -hda %s -vga qxl -device virtio-serial-pci -spice port=5784,disable-ticketing -display spice-app %s " - memory cores image (if iso (concat "-cdrom " iso) ""))))) + memory cores image (when iso (concat "-cdrom " iso))))) #+end_src * Dired ** Functions |