Public bug reported: This was reported by Rintcius Blok on the lxc-users mailing list. It works correctly with precise containers, but not oneiric (on quantal host). To reproduce:
cat > userdata.sh << EOF #!/bin/sh ifconfig eth0 > /ifconfig-eth0 EOF lxc-create -t ubuntu-cloud -n o -- --auth-key $HOME/.ssh/id_rsa.pub --userdata ~/userdata.sh -r oneiric lxc-start -n o Now ~ubuntu/.ssh does not exist, so you cannot ssh -i .ssh/id_rsa. ubuntu@<container-ip-address> Note that /var/lib/cloud/seed/nocloud-net/meta-data does have the ssh keys. ** Affects: lxc (Ubuntu) Importance: Medium Assignee: Ben Howard (utlemming) Status: Triaged ** Changed in: lxc (Ubuntu) Status: New => Triaged ** Changed in: lxc (Ubuntu) Importance: Undecided => Medium ** Changed in: lxc (Ubuntu) Assignee: (unassigned) => Ben Howard (utlemming) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to lxc in Ubuntu. https://bugs.launchpad.net/bugs/1079320 Title: ssh key not correctly used in ubuntu-cloud oneiric containers To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1079320/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs