<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
How can I properly run an ubuntu-cloud template on 12.10 with an
oneiric container?<br>
<br>
I tried this command:<br>
<br>
lxc-create -t ubuntu-cloud -n oneiric.lxc -- --auth-key
$HOME/.ssh/id_rsa.pub --userdata ~/userdata.txt.gz -r oneiric<br>
<br>
This creates the container, but when I try to ssh into it it gives:<br>
<br>
Permission denied (publickey).<br>
<br>
In the container's auth.log I see lots of entries like this:<br>
<br>
getty[5015]: /dev/tty5: cannot open as standard input: Operation not
permitted<br>
<br>
I googled around and saw this related thread:
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<a
href="http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03496.html">http://www.mail-archive.com/lxc-users@lists.sourceforge.net/msg03496.html</a><br>
This thread mentioned that using an older container can be the cause
of it, so that could the cause in my case as well.<br>
I don't know how to work around it though in this situation.<br>
<br>
Any ideas?<br>
Also, is this a bug or am I trying something that is outside the
scope of what should run out-of-the-box?<br>
<br>
Thanks, Rintcius<br>
<br>
<br>
<br>
</body>
</html>