parent
96a3ecfe14
commit
5ee80b1b7d
@ -0,0 +1,3 @@ |
||||
Ctrl+A X -> exits |
||||
|
||||
qemu-system-aarch64 -M virt -nographic -cdrom tests/alpine-virt-3.17.3-aarch64.iso |
@ -0,0 +1,20 @@ |
||||
# shellcheck source=../../utils/with-1-data-1-empty-node-cluster.sh |
||||
source "$UTILS"/with-1-data-1-empty-node-cluster.sh |
||||
|
||||
function assert_a { |
||||
want_ip="$1" |
||||
hostname="$2" |
||||
r="$(dig @"$current_ip" +noall +answer "$hostname")" |
||||
echo "$r" | grep -q "$want_ip" |
||||
} |
||||
|
||||
as_primus |
||||
assert_a "$primus_ip" primus.hosts.shared.test |
||||
|
||||
# TODO This doesn't work at present, there would need to be some mechanism to |
||||
# block the test until secondus' bootstrap info can propagate to primus. |
||||
#assert_a "$secondus_ip" secondus.hosts.shared.test |
||||
|
||||
as_secondus |
||||
assert_a "$primus_ip" primus.hosts.shared.test |
||||
assert_a "$secondus_ip" secondus.hosts.shared.test |
Loading…
Reference in new issue