Skip to content

Commit

Permalink
Fix netplan output
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Necas <[email protected]>
  • Loading branch information
mnecas committed Sep 13, 2024
1 parent bdcb045 commit 958d2b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ check_container_runtime:
fi

bazel-generate:
bazel run //:gazelle
bazel run //:gazelle cmd operator pkg tests validation

.PHONY: controller-gen
controller-gen: $(CONTROLLER_GEN)
Expand Down
4 changes: 2 additions & 2 deletions virt-v2v/cold/scripts/rhel/run/network_config_util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ udev_from_netplan() {

# Function to check if netplan supports the 'get' subcommand
netplan_supports_get() {
netplan get 2>&3
netplan get >&3
return $?
}

# netplan with root dir
netplan_get() {
netplan get --root-dir "$NETPLAN_DIR" "$@" >&3
netplan get --root-dir "$NETPLAN_DIR" "$@" 2>&3
}

# Loop over all interface names and return the one with target_ip, or null
Expand Down

0 comments on commit 958d2b3

Please sign in to comment.