Tom Marshall
19a25fb269
Do not require macaddr, vncpass, uuid to be in VM dict
...
Also cleanup and fix a few things.
2021-05-13 13:16:43 -07:00
Tom Marshall
f3a2fdf8d7
Tweak ui/vm create image label
2021-05-13 11:21:39 -07:00
Tom Marshall
db160a8b6a
Add uuid to vm
2021-05-13 11:17:27 -07:00
Tom Marshall
e04f192194
Add __contains__ to DbObject
2021-05-13 11:10:17 -07:00
Tom Marshall
4c1b515007
Add SIGCHLD handler to cleanup qemu children spawned by fork
2021-05-09 09:12:27 -07:00
Tom Marshall
2c2a26b447
Invoke find_in_path in cmd_run and fork_child, not at every call site
2021-05-03 11:52:42 -07:00
Tom Marshall
f02ab9a516
Remove some leftover debug prints
2021-04-30 13:47:59 -07:00
Tom Marshall
3fffc2dc92
Add permission check for ui/vm
2021-04-30 13:13:29 -07:00
Tom Marshall
05eea7379d
Relax timeouts for suspend/resume
2021-04-30 10:57:08 -07:00
Tom Marshall
171f13af24
Wait up to one second for monitor socket to show up
2021-04-30 10:29:41 -07:00
Tom Marshall
8fb4cc0cc6
Get rid of oid, just use id key directly
2021-04-30 10:29:41 -07:00
Tom Marshall
7bff156812
Store sessions in database
2021-04-30 10:29:38 -07:00
Tom Marshall
a8ed7549a2
Fix cli serial/monitor passthru
2021-04-29 17:27:29 -07:00
Tom Marshall
dc7e727dab
WIP: add aarch64 and rpi3 support
2021-04-29 17:27:01 -07:00
Tom Marshall
c8172f27b3
Fix file_copy_sparse when file ends with hole
2021-04-29 16:03:04 -07:00
Tom Marshall
51f062b925
Add ostype selection to vm and select appropriate peripherals
2021-04-29 16:03:04 -07:00
Tom Marshall
2cf0a998f6
Improve MAC address selection
2021-04-29 16:03:00 -07:00
Tom Marshall
d03badf41f
Only delete VM disks that are under our control
2021-04-28 17:15:15 -07:00
Tom Marshall
3c8520f1f0
Fix creating image from vm
2021-04-28 17:10:57 -07:00
Tom Marshall
77a2897888
Allow changing VNC password and fix VM edits
2021-04-28 16:50:09 -07:00
Tom Marshall
f3f53e35d0
Reduce calls to vm.running() in ui_vm
2021-04-28 16:49:41 -07:00
Tom Marshall
3f60de9b3b
Use virtio disk and net devices
2021-04-28 16:43:48 -07:00
Tom Marshall
dfc50fa05f
Fix None handling in SQL
2021-04-28 16:43:44 -07:00
Tom Marshall
0b0d4944fd
Fix vm pid handling
2021-04-28 15:02:09 -07:00
Tom Marshall
cabd3b576b
Fix ISO handling
2021-04-28 14:54:34 -07:00
Tom Marshall
434fcd8ce6
Several fixes
...
* Fix qemu-img disk size.
* Set timeout on qemu monitor socket operations.
* Fix timeout for killing qemu.
* Fix login for cli.
* Fix iso insertion and display.
2021-04-28 14:54:34 -07:00
Tom Marshall
91b0ed48c4
Add permission handling to ui image page and do a bit of cleanup
2021-04-28 14:54:34 -07:00
Tom Marshall
4b362e9429
Fix ui image edit handler
2021-04-28 14:54:34 -07:00
Tom Marshall
dcc13833ff
Shut down gracefully on SIGINT and SIGTERM, remove SIGCHLD handler
2021-04-28 14:54:30 -07:00
Tom Marshall
a83be6e159
Do not allow creating duplicate images or vms
2021-04-27 09:35:51 -07:00
Tom Marshall
476ece4388
Rework async file copy and rename to acp_*
2021-04-27 08:56:26 -07:00
Tom Marshall
8cb0308349
Add copying status for image detail
2021-04-26 11:07:05 -07:00
Tom Marshall
ecf6c6fd77
Fix readable_size by coercing values to int
2021-04-26 11:05:59 -07:00
Tom Marshall
15078c96e2
Remove pidfile before starting vm
2021-04-26 10:35:39 -07:00
Tom Marshall
dcd19c674c
Fix file copy and handle missing disk in vm
2021-04-26 09:35:25 -07:00
Tom Marshall
23c6f2a220
Initial conversion to sqlite3
2021-04-26 09:35:21 -07:00
Tom Marshall
49a397d5d6
Improve disk stats
2021-04-23 16:52:30 -07:00
Tom Marshall
b686c12f38
Consolidate html/css style for links
2021-04-23 16:29:28 -07:00
Tom Marshall
a46d8c0cb4
Rework image type, format, size
...
* Make image type a string.
* Use qemu-img to get format and virtual size.
* Show virtual and physical size in image detail page.
2021-04-23 16:29:17 -07:00
Tom Marshall
48f6afe07b
Make databases private
...
They contain sensitive info.
2021-04-22 10:32:02 -07:00
Tom Marshall
d9e4e48f6f
Add basic VNC password support
2021-04-22 10:22:24 -07:00
Tom Marshall
d584ee2472
Handle numeric parsing better
2021-04-22 09:42:15 -07:00
Tom Marshall
f22310884b
Remove outdated external serial info
2021-04-22 09:30:43 -07:00
Tom Marshall
1a62531645
Set bridge device "up" after creation and configuration
2021-04-22 09:28:16 -07:00
Tom Marshall
d5e32258bd
Add default dns server
2021-04-22 09:23:56 -07:00
Tom Marshall
f212276a70
Use configurable imagepath url
...
This allows images to be hosted externally, removing the need to do
image handling in vmmd.
2021-04-22 08:44:43 -07:00
Tom Marshall
720cebea0d
Initial MVP
2021-04-21 17:52:07 -07:00