This is an automated email from the ASF dual-hosted git repository. rohit pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/cloudstack-installer.git
The following commit(s) were added to refs/heads/main by this push: new cf6ddff install.sh: fix interface usage in netplan cf6ddff is described below commit cf6ddffabd6828ea54858e986b7f306add657593 Author: Rohit Yadav <rohit.ya...@shapeblue.com> AuthorDate: Thu Aug 7 12:03:42 2025 +0530 install.sh: fix interface usage in netplan --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 457aaaf..ea7f7b1 100644 --- a/install.sh +++ b/install.sh @@ -86,8 +86,8 @@ setup_bridge() { interface=$(find /sys/class/net -type l -not -lname '*virtual*' -printf '%f\n' | sort | head -1) gateway=$(ip route show 0.0.0.0/0 dev $interface | cut -d ' ' -f 3) - hostipandsub=$(ip -4 -br addr show ens192 | awk '{ print $3; }' ) - info "Setting up bridge on $interface which has IP $hostip and gateway $gateway" + hostipandsub=$(ip -4 -br addr show $interface | awk '{ print $3; }' ) + info "Setting up bridge on $interface which has IP $hostipandsub and gateway $gateway" cat << EOF > /etc/netplan/01-netcfg.yaml network: