We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49ee6da commit 9b1d770Copy full SHA for 9b1d770
test/suites/network_forward.sh
@@ -7,7 +7,7 @@ test_network_forward() {
7
8
lxc network create bgpbr # Bridge to start BGP listener on.
9
10
- bgpIP=$(lxc network ls | grep bgpbr | grep -oE '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}')
+ bgpIP=$(lxc network get bgpbr ipv4.address | cut -d/ -f1)
11
12
lxc network create "${netName}" \
13
ipv4.address=192.0.2.1/24 \
0 commit comments