Skip to content

Commit 0ca2233

Browse files
committed
Exit early if the old -bridge x,x,x format is used
To advise on using the new format over the depricated old method which took tap,bridge,hostEthernet.
1 parent 8619fd7 commit 0ca2233

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

main

+6
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,12 @@ do
10111011
bridge="${2}"
10121012
networking=1
10131013
checkDependency dhclient openssl ip
1014+
if [[ ${bridge} =~ , ]]
1015+
then
1016+
printer "${colors[red]}-bridge has been split into -bridge -hostint and -tap."
1017+
printer "${colors[red]}Please use these new arguments for each desired component."
1018+
exit 1
1019+
fi
10141020
shift
10151021
;;
10161022
-tap|-interface)

0 commit comments

Comments
 (0)