Set up network before package installation; auto-detect Amazon EC2 public keys (for SSH).