Clean up comments
su -c some of the ec2_init to make it work.

Split most of the heavy lifting into a second script which is invoked as the vyos user.  Running it as root was writing configuration data which the vyos user couldn't change, leaving the whole vyos configuration system unusable. This works better.