Commit Graph

318 Commits

Author SHA1 Message Date
Eric Schultz a4df64c7fa Allow modifying Docker and VM Settings pages; show docker and libvirt running status 2016-02-26 21:19:31 -08:00
Tom Mortensen 08146b82ec Sequencing start/stop of docker and libvirt moved into emhttp. After network services (smb, afp, nfs) have
been started we start docker (if enabled) and then libvirt (if enabled), and only if array is Started in
non-maintenance mode. Upon array Stop, libvirt is stopped first, then docker, then network services.

The libvirt loopback image now exists on the "system" system share.  Script ./dynamix.vm.manager/scripts/libvirt_init
is invoked each time libvirt is started to handle initialization of the mounted image file if necessary.  Also got
rid of the old way libvirt loopback was initialized via compressed tar file.

Create/mount of docker and libvirt loopback images implemented in /usr/local/sbin/mount_image script.

The docker and libvirt loopback image files by default are located on /mnt/user/system/docker.img and
/mnt/user/system/libvirt/libvirt.img.

Default /boot/config/docker.cfg and /boot/config/domains.cfg added to flash image.  This is so that docker and
libvirt start out enabled.

The /boot/config/shares/{appdata,domains,isos,system}.cfg files are created each time array Starts if they do
not exist already. This establishes defaults for these so-called "system" shares.

The "appdata", "domains", and "system" system shares have setting shareUseCache="only".  These shares therefore
cannot be auto-created unless/until a cache disk/pool is available.
2016-02-21 15:18:31 -08:00
Eric Schultz 2f353abfca Fix: /mnt/user path transpose tweaks to use the first cache/disk if multiple are listed 2016-02-12 07:18:06 -08:00
Eric Schultz fb1c136c3f Fix: vm manager: vdisk path value can be read from 'dev' or 'file' xml attributes 2016-02-07 22:50:55 -08:00
Eric Schultz 762190d10b Fix: /mnt/user path transpose tweaks to handle spaces in path names better 2016-02-07 20:47:19 -08:00
Eric Schultz ad07488659 Fix: libvirt: skip creating domain.img if exists already 2016-02-07 20:04:55 -08:00
Eric Schultz 6ec5e3bf7a VM Manager: sanitize and sort USB devices, improve device naming 2016-01-21 12:49:59 -08:00
Eric Schultz 20977c5210 Several VM Manager and general webui fixes/tuning for 6.2
- move qemu script out of the docroot

- added latest virtio-win-iso (0.1.112-1)

- mark all drive/usb controllers blacklisted that contain disks in the array from pci passthough

- fix regex to include nameless usb devices

- default to usb2 for new VMs

- show pci and usb device IDs next to device labels

- dont show help on/off splash image

- VM Manager help section updates
2016-01-14 22:33:18 -08:00
Eric Schultz 8095de8759 merge ronalds changes from upstream + some vm and dashboard fixes 2016-01-12 19:59:16 -08:00
Eric Schultz f47f53c4ee VM Manager: Fix: first disk bus should be virtio instead of sata 2015-12-18 13:37:48 -08:00
Eric Schultz 7e7b97bd61 VM Manager: Fix: regex that captures and transposes user path 2015-12-17 13:25:58 -08:00
Eric Schultz 17e8bfa310 VM Manager: Fix: xvga is supposed to be 'yes' instead of 'on' for seabios primary video card 2015-12-08 17:58:15 -06:00
Eric Schultz fc1ef4d1c9 VM Templates: minor css tuning for icon captions and tooltip text 2015-12-06 17:28:30 -06:00
Eric Schultz 11b7d9c88a VM Managaer: minor formatting 2015-11-30 17:57:23 -06:00
Eric Schultz b8ba070930 VM Manager: corrected Windows 7 and Windows Server 2008 logos; added/kept logo for Windows Vista 2015-11-28 08:30:23 -06:00
Eric Schultz 8166978cd5 VM Manager: minor code formatting cleanup (am I the only one who likes tab indentation?) 2015-11-26 09:28:11 -06:00
Eric Schultz 72b4c0746c VM Manager: completely revamp templates, added iso downloader, auto vdisk location 2015-11-25 23:14:21 -06:00
Eric Schultz 30ca111094 initial commit 2015-10-24 10:17:28 -07:00