1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

make adding input devices optional. give bus control for input devices whie instance creating

This commit is contained in:
catborise 2022-09-08 08:02:49 +03:00
parent 5f5bd379af
commit 481c110f01
4 changed files with 55 additions and 9 deletions

View file

@ -245,6 +245,7 @@ class CreateInstance(models.Model):
mac = models.CharField(max_length=17, blank=True)
console_pass = models.CharField(max_length=64, blank=True)
add_cdrom = models.CharField(max_length=16)
add_input = models.CharField(max_length=16)
graphics = models.CharField(max_length=16, error_messages={'required': _('Please select a graphics type')})
video = models.CharField(max_length=16, error_messages={'required': _('Please select a video driver')})
listener_addr = models.CharField(max_length=20, choices=QEMU_CONSOLE_LISTENER_ADDRESSES)