Ensure interface is up before bootstrap init

This commit is contained in:
Joshua Boniface 2024-10-17 13:14:52 -04:00
parent d2b792c414
commit 1038d5c576
1 changed files with 2 additions and 0 deletions

View File

@ -266,6 +266,8 @@ case ${start_flag} in
;;
*)
echo
sudo ifup ${bootstrap_interface}
sudo service apt-cacher-ng restart
export PVCD_CONFIG_FILE="${root_directory}/pvcbootstrapd/pvcbootstrapd.yaml"
${root_directory}/pvcbootstrapd/pvcbootstrapd.py --init-only
;;