bare-metal: print logs for bootkube if it fails
Part of
@@ -131,7 +131,7 @@ resource "null_resource" "bootkube-start" {
provisioner "remote-exec" {
inline = [
"sudo mv $HOME/assets /opt/bootkube",
- "sudo systemctl start bootkube",
+ "sudo systemctl start bootkube || (sudo journalctl -u bootkube && exit 1)",
]
}
}
