Skip to content

Commit

Permalink
7d290
Browse files Browse the repository at this point in the history
  • Loading branch information
stgraber committed Oct 4, 2023
1 parent 775fa5f commit 2c8f666
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test/suites/network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@ test_network() {
incus init testimage nettest

# Test DNS resolution of instance names
incus network create lxdbr0
incus launch testimage 0abc -n lxdbr0
incus launch testimage def0 -n lxdbr0
v4_addr="$(incus network get lxdbr0 ipv4.address | cut -d/ -f1)"
incus network create inct$$
incus launch testimage 0abc -n inct$$
incus launch testimage def0 -n inct$$
v4_addr="$(incus network get inct$$ ipv4.address | cut -d/ -f1)"
sleep 2
dig @"${v4_addr}" 0abc.lxd
dig @"${v4_addr}" def0.lxd
dig @"${v4_addr}" 0abc.incus
dig @"${v4_addr}" def0.incus
incus delete -f 0abc
incus delete -f def0
incus network delete lxdbr0
incus network delete inct$$

# Standard bridge with random subnet and a bunch of options
incus network create inct$$
Expand Down

0 comments on commit 2c8f666

Please sign in to comment.