capsul-flask/capsulflask/shell_scripts
mirsal d9f3e68278
Some checks failed
continuous-integration/drone/pr Build is failing
shell_scripts: Fix reporting of VM IP addresses
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
..
capacity-avaliable.sh point capsul at new public3/virbr3 network 2021-07-12 11:29:37 -05:00
create.sh use the provided network_name when creating a capsul 2021-07-12 12:19:56 -05:00
destroy.sh Make all shell scripts executable 2020-05-16 11:28:34 -05:00
force-stop.sh Add vm state management scripts 2021-02-16 20:58:23 -06:00
get.sh shell_scripts: Fix reporting of VM IP addresses 2021-08-04 00:56:55 +00:00
list-ids.sh Make all shell scripts executable 2020-05-16 11:28:34 -05:00
restart.sh Add vm state management scripts 2021-02-16 20:58:23 -06:00
ssh-keyscan.sh fix ssh-keyscan.sh newlines printf 2021-01-30 02:03:29 -06:00
start.sh Add vm state management scripts 2021-02-16 20:58:23 -06:00
stop.sh Add vm state management scripts 2021-02-16 20:58:23 -06:00