Fix incorrect ifup commands

This commit is contained in:
Joshua Boniface 2024-10-24 12:50:01 -04:00
parent 34e1335fce
commit febda81f7b
1 changed files with 5 additions and 1 deletions

View File

@ -266,7 +266,11 @@ case ${start_flag} in
;; ;;
*) *)
echo echo
if [[ "${is_bootstrap_interface_vlan}" == "yes" ]]; then
sudo ifup vlan${bootstrap_vlan}
else
sudo ifup ${bootstrap_interface} 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