aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authornotgne22020-10-26 12:44:19 -0700
committernotgne22020-10-26 12:44:19 -0700
commitdf002c31a64409350a3cb8825364542c65a4d00a (patch)
tree229deae6687a5b454cf2417fcb022a78f8ac20b8 /src/utils
parent7ec0bc21cd3678e39270d7ea59bccaefa288abfa (diff)
Add more debug logs
Diffstat (limited to '')
-rw-r--r--src/utils/deploy.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/deploy.rs b/src/utils/deploy.rs
index 1ef7f11..59217df 100644
--- a/src/utils/deploy.rs
+++ b/src/utils/deploy.rs
@@ -106,6 +106,8 @@ pub async fn deploy_profile(
magic_rollback,
);
+ debug!("Constructed activation command: {}", self_activate_command);
+
let hostname = match deploy_data.cmd_overrides.hostname {
Some(ref x) => x,
None => &deploy_data.node.node_settings.hostname,
@@ -146,6 +148,11 @@ pub async fn deploy_profile(
confirm_command = format!("{} {}", sudo_cmd, confirm_command);
}
+ debug!(
+ "Attempting to run command to confirm deployment: {}",
+ confirm_command
+ );
+
let ssh_exit_status = ssh_confirm_command.arg(confirm_command).status().await?;
if !ssh_exit_status.success() {