Commit Graph

11 Commits

Author SHA1 Message Date
mirsal 8a6d558402 Retrieve IPv6 addresses from VMs
This commit allows the model to fetch IPv6 addresses from running VMs
and populate VirtualMachine objects with the value if it was retrieved
successfully
2021-08-04 15:35:41 +00:00
mirsal d9f3e68278 shell_scripts: Fix reporting of VM IP addresses
continuous-integration/drone/pr Build is failing Details
The shell script which gets informations from libvirt incorrectly
matches virsh output lines which contain VMs' public IPv4 addresses.
It doesn't work when there are multiple address families which breaks
reporting of IPv4 address when a VM also has an IPv6 address and virsh
happen to output that one first.

This commit changes it to explicitely match the first ipv4 address instead.
2021-08-04 00:56:55 +00:00
forest 5d3dbac9ba fixing more bash issues 2021-02-17 21:22:01 -06:00
forest 64db728731 fixing bash if statement issues related to negation 2021-02-17 21:19:27 -06:00
forest bf927c4f1e fix line before shebang in script and fine-tune list page style 2021-02-17 21:06:20 -06:00
forest ba0b29462c first try at implementing the vm start and stop feature 2021-02-17 20:50:17 -06:00
forest e8348052a8 fixing get inconsistency and adding vm_state_command 2021-02-16 21:13:51 -06:00
j3s 60a8f34a9b Invert get.sh name check, don't use -v and -q together. 2020-05-16 16:14:15 -05:00
j3s 7ffdd7546d Make all shell scripts executable 2020-05-16 11:28:34 -05:00
forest 403506a0b0 capacity limiter and general cleanup 2020-05-13 13:56:43 -05:00
forest 426fad7b10 first try at creating VirtualizationInterface 2020-05-10 18:59:30 -05:00