Fix bug.
This commit is contained in:
parent
e9749f0e94
commit
dfcc4fb852
|
@ -23,7 +23,7 @@ else
|
||||||
else
|
else
|
||||||
netplan_config_file=`ls /etc/netplan/*.yaml|xargs|awk '{print $1}'`
|
netplan_config_file=`ls /etc/netplan/*.yaml|xargs|awk '{print $1}'`
|
||||||
fi
|
fi
|
||||||
configure_netplan_py=`curl http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/configure_netplan.py`
|
configure_netplan_py=`curl -sS http://gitlab.tp.rulingcom.com/erictyl/install_r45_on_ubuntu_1804lts_doc/-/raw/master/configure_netplan.py`
|
||||||
if [[ ! -z "$configure_netplan_py" ]]; then
|
if [[ ! -z "$configure_netplan_py" ]]; then
|
||||||
echo "$configure_netplan_py" > configure_netplan.py
|
echo "$configure_netplan_py" > configure_netplan.py
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue