Ensure interface is up before bootstrap init
This commit is contained in:
parent
d2b792c414
commit
1038d5c576
@ -266,6 +266,8 @@ case ${start_flag} in
|
|||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo
|
echo
|
||||||
|
sudo ifup ${bootstrap_interface}
|
||||||
|
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…
x
Reference in New Issue
Block a user