Fix incorrect ifup commands
This commit is contained in:
parent
34e1335fce
commit
febda81f7b
|
@ -266,7 +266,11 @@ case ${start_flag} in
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo
|
echo
|
||||||
sudo ifup ${bootstrap_interface}
|
if [[ "${is_bootstrap_interface_vlan}" == "yes" ]]; then
|
||||||
|
sudo ifup vlan${bootstrap_vlan}
|
||||||
|
else
|
||||||
|
sudo ifup ${bootstrap_interface}
|
||||||
|
fi
|
||||||
sudo service apt-cacher-ng restart
|
sudo service apt-cacher-ng restart
|
||||||
export PVCD_CONFIG_FILE="${root_directory}/pvcbootstrapd/pvcbootstrapd.yaml"
|
export PVCD_CONFIG_FILE="${root_directory}/pvcbootstrapd/pvcbootstrapd.yaml"
|
||||||
${root_directory}/pvcbootstrapd/pvcbootstrapd.py --init-only
|
${root_directory}/pvcbootstrapd/pvcbootstrapd.py --init-only
|
||||||
|
|
Loading…
Reference in New Issue