Skip to content

Commit

Permalink
tests/container-copy: provide the network addr/port at init time
Browse files Browse the repository at this point in the history
Signed-off-by: Simon Deziel <[email protected]>
  • Loading branch information
simondeziel committed May 2, 2024
1 parent cc65711 commit 544ce21
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/container-copy
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ waitInstanceBooted target

echo "==> Setup LXD on the target VM"
lxc exec target -- snap install lxd --channel "${LXD_SNAP_CHANNEL}"
lxc exec target -- lxd init --auto
lxc exec target -- lxc config set core.https_address=:8443
lxc exec target -- lxd init --auto --network-address "[::]" --network-port "8443"

echo "==> Wait for the target VM time to be synchronized with NTP"
for _ in $(seq 6); do
Expand Down

0 comments on commit 544ce21

Please sign in to comment.