%post echo "post-ssh-key-koll running `date`" # need to have authorized_keys file # note that this leaves file broken for selinux mkdir /root/.ssh chmod 700 /root/.ssh touch /root/.ssh/authorized_keys chmod 600 /root/.ssh/authorized_keys cat >> /root/.ssh/authorized_keys << ENDSSHKEY ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAwxFff8OwT/3lHzCDqmCJ\ Lp/1eSlS0it72XBnWztt8ECFoU17gSKhZcgCAJCxdG0hKl/J6wl5F71v\ 7/cs37utXkQaubvyLLhJ3KMAh4vG5qQGt7bCMF+AoQYVdKFqvFZfpn+U\ Aj4UNwhCOgVSkBBJ+lpn/jm3GowuhJfbimagwG66b4x4QkI4p8uXalV3\ ty63G6FOF+km+JOaUat9HuKbtAxQvm9RRHMj5Dmr4CRnBcm/6GEa5UcW\ cM68Dt5O9DTheJpIeHIi8Y42ji2UXKCxUNnRsYMrQG4PdKXruHrIi3c3\ 3uBtbegjB0q6WG+d6QlGFPWtLLAii0lFlKsiuS44tQ== James Koll ENDSSHKEY %end