On Sat, Nov 2, 2013 at 8:49 PM, Alain O'Dea <alain.o...@gmail.com> wrote: > Here's my hypothesis: The OmniOS EC2 AMI brings up the SSH server > before provisioning SSH public keys. > > Is there a good workaround for this or should I bring up the machine > with the EC2 API directly and use knife bootstrap after?
Your hypothesis is accurate. There is a transient SMF service called ec2-credential that fetches the pubkey during startup. That service is not dependent on the ssh service though-- SMF starts independent services in parallel, so this is likely a race. It would probably be best to use the EC2 API directly for now, and bootstrap after the instance comes up. The ec2-credential method script is here: https://github.com/omniti-labs/omnios-build/blob/r151006/build/ec2-credential/files/install-ec2-credential Eric _______________________________________________ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss