Skip to content

Commit

Permalink
how to read cloud init logs
Browse files Browse the repository at this point in the history
  • Loading branch information
rvencu committed Jun 22, 2021
1 parent 417c5c9 commit eac08b5
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion gpucah.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,23 @@
"metadata": {},
"outputs": [],
"source": [
"! ssh -oStrictHostKeyChecking=no -oIdentitiesOnly=yes -i~/.ssh/id_cah crawl@"
"! ssh -oStrictHostKeyChecking=no -oIdentitiesOnly=yes -i~/.ssh/id_cah crawl@<<ip_here>>"
]
},
{
"source": [
"how to get cloud-init logs for a node that fails to install proprly"
],
"cell_type": "markdown",
"metadata": {}
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"! scp -oStrictHostKeyChecking=no -oIdentitiesOnly=yes -i~/.ssh/id_cah crawl@<<ip_here>>:/var/log/cloud-init-output.log cloud-init-<<ip_here>>.log"
]
}
],
Expand Down

0 comments on commit eac08b5

Please sign in to comment.