From 1038d5c5761485a6c2f0d10af5e0dff8e7150def Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Thu, 17 Oct 2024 13:14:52 -0400 Subject: [PATCH] Ensure interface is up before bootstrap init --- install-pvcbootstrapd.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install-pvcbootstrapd.sh b/install-pvcbootstrapd.sh index b39bc51..26f345f 100755 --- a/install-pvcbootstrapd.sh +++ b/install-pvcbootstrapd.sh @@ -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 ;;