<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                   body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}         </STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.17622"><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV>The problem is still bothering me.</DIV>
<DIV>Now I run this router with opennebula,and the following 
configuration:</DIV>
<DIV><FONT color=#ff0000>router-template.one</FONT>:</DIV>
<DIV><FONT color=#0000ff>NAME   = router<BR>CPU    = 
0.1<BR>MEMORY = 256</FONT></DIV>
<DIV><FONT color=#0000ff>DISK   = [ IMAGE = router ]</FONT></DIV>
<DIV><FONT color=#0000ff>NIC    = [ NETWORK = "cloud" 
]</FONT></DIV>
<DIV><FONT color=#0000ff>FEATURES=[ acpi="no" ]</FONT></DIV>
<DIV><FONT color=#0000ff>GRAPHICS = [<BR>    
TYPE    = "vnc",<BR>    LISTEN  = 
"0.0.0.0"<BR>]<BR>CONTEXT= [<BR>    hostname = 
"router",<BR>    ip_public = 
"172.16.100.210",<BR>    files     = 
"/var/lib/one/init.sh /var/lib/one/.ssh/id_dsa.pub",<BR>    
target    = "hdb",<BR>    root_pubkey = 
"id_dsa.pub"<BR>]</FONT></DIV>
<DIV><FONT color=#ff0000>init.sh:</FONT></DIV>
<DIV><FONT color=#0000ff>#!/usr/bin/env bash<BR>if [ -n "$HOSTNAME" 
];then<BR>   echo $HOSTNAME >/etc/HOSTNAME<BR>   hostname 
$HOSTNAME<BR>fi<BR>if [ -n "$IP_PUBLIC" ];then<BR>   ifconfig eth0 
$IP_PUBLIC<BR>fi<BR>echo "context initing..."<BR>if [ -f 
/mnt/context/$ROOT_PUBKEY ];then<BR>    cat 
/mnt/context/$ROOT_PUBKEY >>/root/.ssh/authorized_keys<BR>fi</FONT></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV>But ttylinux-template works.In ttylinux-template.one,the context's target 
was modified to "hdc".I saw the log "context initing..." from ttylinux's 
console.</DIV>
<DIV> </DIV>
<DIV>Where was my configuration wrong?</DIV>
<DIV> </DIV>
<DIV>Best Regards</DIV>
<DIV>yuchang</DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2013-11-02</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>yuchang_subscribe</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>yuchangw 
<yuchang_subscribe@126.com></FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2013-10-31 16:43</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [one-users] OpenNebual 
Virtual Router 4.2 login failed, password needed.</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>收件人:</STRONG>"Valentin 
Bud"<valentin.bud@gmail.com></FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>抄送:</STRONG>"openNebulaGroup"<users@lists.opennebula.org></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV 
style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; COLOR: #000000; FONT-SIZE: 14px">Sorry,I 
didn't setup ROOT_PUBKEY,because I tried to run this router without opennebula 
environment.<BR>So I should try this Router under opennebula next  
time.<BR><BR>thank you .<BR><BR><BR><BR><BR>
<DIV></DIV>
<DIV id=divNeteaseMailCard></DIV><BR>At 2013-10-31 
16:36:11,"Valentin Bud" <valentin.bud@gmail.com> wrote:<BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
id=isReplyContent>
  <DIV dir=ltr>Hello Yuchang,
  <DIV><BR></DIV>
  <DIV>Have you set up ROOT_PUBKEY or ROOT_PASSWORD in the CONTEXT of the 
  Virtual Router VMs' template, as stated in the Virtual Router documentation 
  [1] in Configuration section?</DIV>
  <DIV><BR></DIV>
  <DIV>[1]: <A 
  href="http://opennebula.org/documentation:rel4.2:router">http://opennebula.org/documentation:rel4.2:router</A></DIV>
  <DIV><BR></DIV>
  <DIV>Good Will,</DIV></DIV>
  <DIV class=gmail_extra><BR><BR>
  <DIV class=gmail_quote>On Thu, Oct 31, 2013 at 3:38 AM, yuchangw <SPAN 
  dir=ltr><<A href="mailto:yuchang_subscribe@126.com" 
  target=_blank>yuchang_subscribe@126.com</A>></SPAN> wrote:<BR>
  <BLOCKQUOTE 
  style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
  class=gmail_quote>
    <DIV 
    style="LINE-HEIGHT: 1.7; FONT-FAMILY: arial; FONT-SIZE: 14px"> Hi,<BR><BR>I 
    download OpenNebual Virtual Router 4.2 which is apline linux based.When I 
    start the virutal machine with libvirt's virtual machine manager,<BR>I 
    cannot login without password,the account used is root.<BR><BR>So I 
    try  Virtual Router 3.8(root,password:router).It works 
    ok.<BR><BR>Anyone help me?<BR><BR>thanks yuchang<BR></DIV><BR><BR><SPAN 
    title=neteasefooter><SPAN></SPAN></SPAN><BR>_______________________________________________<BR>Users 
    mailing list<BR><A 
    href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</A><BR><A 
    href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" 
    target=_blank>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR><BR></BLOCKQUOTE></DIV><BR><BR 
  clear=all>
  <DIV><BR></DIV>-- <BR>
  <DIV dir=ltr>Valentin Bud
  <DIV><A href="http://databus.pro" target=_blank>http://databus.pro</A> | <A 
  href="mailto:valentin@databus.pro" 
  target=_blank>valentin@databus.pro</A></DIV></DIV></DIV></BLOCKQUOTE></DIV></FONT></DIV></BODY></HTML>