diff --git a/home/bin/deboco b/home/bin/deboco index e284197..b53cf8b 100755 --- a/home/bin/deboco +++ b/home/bin/deboco @@ -215,6 +215,8 @@ controller__check_integrity() deboco__init() { local debops_controller_path="$1" + + debops_controller_path=$(realpath $debops_controller_path) log 'info' "creating debobs controller in $debops_controller_path" if [ "$debops_controller_path" = '' ] then @@ -314,6 +316,7 @@ deboco__init() deboco__update() { local debops_controller_path="$1" + debops_controller_path=$(realpath $debops_controller_path) log 'info' "updating debobs controller in $debops_controller_path" controller__check_integrity "$debops_controller_path" @@ -357,6 +360,7 @@ deboco__configure_machine() { local debops_controller_path="$1" local target_host_fqdn="$2" # the machine on which we want to install debops bootstrap, eg alambix-108.ipr.univ-rennes.fr + debops_controller_path=$(realpath $debops_controller_path) log 'info' "configuring $target_host_fqdn using debobs controller $debops_controller_path" local error_code=$RETURNCODE_SUCCESS @@ -383,6 +387,7 @@ deboco__init_machine() { local debops_controller_path="$1" local target_host_fqdn="$2" # the machine on which we want to install debops bootstrap, eg alambix-108.ipr.univ-rennes.fr + debops_controller_path=$(realpath $debops_controller_path) log 'info' "installing debops bootstrap on $target_host_fqdn using debobs controller $debops_controller_path" @@ -425,6 +430,7 @@ deboco__update_machine() { local debops_controller_path="$1" local target_host_fqdn="$2" # eg alambix-108.ipr.univ-rennes.fr + debops_controller_path=$(realpath $debops_controller_path) log 'info' "updating $target_host_fqdn using debobs controller $debops_controller_path"