Fixed dhcp flag issue as well as ssh public key issue for arch #5
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ echo ""
|
||||||
|
|
||||||
read -p "Is this correct (y/n)? " v;if [ "$v" != "y" ];then "Exiting, restart to reenter info"; exit;fi
|
read -p "Is this correct (y/n)? " v;if [ "$v" != "y" ];then "Exiting, restart to reenter info"; exit;fi
|
||||||
|
|
||||||
|
dhcp_opts+=" -m $mac"
|
||||||
if [ -n $subnet ]; then dhcp_opts=" -s $subnet";fi
|
if [ -n $subnet ]; then dhcp_opts=" -s $subnet";fi
|
||||||
if [ -n $ip ]; then dhcp_opts+=" -i $ip";fi
|
if [ -n $ip ]; then dhcp_opts+=" -i $ip";fi
|
||||||
dhcp_opts+=" -m $mac"
|
dhcp_opts+=" -m $mac"
|
||||||
|
|
Loading…
Add table
Reference in a new issue