Debug CoreOS Cloud Init Script

When I log in after trying to debug something I find that the command prompt gives me the following:

So to figure out where my script went wrong, I simply have to run the command:

So in my case it was:

It turns out,  I put an extra ssh-keyscan in the the script and it thought it was the hostname!

Removing the extra characters worked.