<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#ffffff">
    You add something like this to your template (raw is for kvm case):<br>
    <br>
    GRAPHICS = [ <br>
      type    = "vnc",              <br>
      listen  = "127.0.0.1",<br>
      port    = "5901",<br>
      keymap  = "fr"<br>
      ]<br>
    <br>
    RAW = [ type = "kvm",<br>
            data = "<devices><serial type=\"pty\"><source
    path=\"/dev/pts/5\"/><target
    port=\"0\"/></serial><console type=\"pty\"
    tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target
    port=\"0\"/></console></devices>" ]<br>
    <br>
    <br>
    then with tool like virt-manager you can access the "console"<br>
    <br>
    Olivier<br>
    <br>
    <br>
    Le 3/17/11 2:18 PM, Rizwan a écrit :
    <blockquote
      cite="mid:AANLkTikeRk1sA5RVmzyiuu2KsA6tkB-QESVe1Be18p+A@mail.gmail.com"
      type="cite">"add a DISPLAY and login to console"<br>
      <br>
      how to add the above ? <br>
      <br>
      <br>
      <br>
      <br>
      <div class="gmail_quote">On Thu, Mar 17, 2011 at 6:13 PM, Olivier
        Sallou <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:olivier.sallou@irisa.fr">olivier.sallou@irisa.fr</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
          0.8ex; border-left: 1px solid rgb(204, 204, 204);
          padding-left: 1ex;">
          <div text="#000000" bgcolor="#ffffff"> you should add a
            DISPLAY and login to console , you may have networking issue
            (network on eth1 for example)<br>
            <br>
            Olivier <br>
            <br>
            Le 3/17/11 1:12 PM, Rizwan a écrit :
            <blockquote type="cite">
              <div>
                <div class="h5"> I have setup single node opennebula
                  cloud using ubuntu 10.10 server, I can run the virtual
                  machine but i cant ping or ssh to that instance. I
                  used ubuntu10.10-server.img, (i tried ttylinux image
                  with same results) file for the virtual machine. Here
                  are some details.<br>
                  <br>
                  <br>
                  <b>front node /etc/network/interfaces file</b><br>
                  ------------------------------
                  <div>---------------------------------<br>
                    # The loopback network interface<br>
                    auto lo<br>
                    iface lo inet loopback<br>
                    <br>
                    # The primary network interface<br>
                    auto eth0<br>
                    iface eth0 inet static<br>
                    <br>
                    #auto br0<br>
                    #iface br0 inet static<br>
                            address 192.168.31.53<br>
                            netmask 255.255.255.0<br>
                            network 192.168.31.0<br>
                            broadcast 192.168.31.255<br>
                            gateway 192.168.31.15<br>
                            # dns-* options are implemented by the
                    resolvconf package, if installed<br>
                            dns-nameservers 172.16.1.1<br>
                    <br>
                    <br>
-----------------------------------------------------------------<br>
                    <br>
                    <b>compute node /etc/network/interfaces<br>
                    </b><br>
                    # The loopback network interface<br>
                    auto lo<br>
                    iface lo inet loopback<br>
                    <br>
                    # The primary network interface<br>
                    auto eth0<br>
                    iface eth0 inet manual<br>
                    <br>
                    auto br0<br>
                    iface br0 inet static<br>
                            address 192.168.31.54<br>
                            netmask 255.255.255.0<br>
                            network 192.168.31.0<br>
                            broadcast 192.168.31.255<br>
                            gateway 192.168.31.53<br>
                            # dns-* options are implemented by the
                    resolvconf package, if installed<br>
                            dns-nameservers 172.16.1.1<br>
                    <br>
---------------------------------------------------------------<br>
                    <div class="gmail_quote"><b>my virtual network
                        template</b><br>
                      <br>
                      NAME = "LAN"<br>
                      TYPE = RANGED<br>
                      BRIDGE = br0<br>
                      NETWORK_ADDRESS = 192.168.31.128<br>
                      NETWORK_SIZE    = 126<br>
                      NETMASK         = 255.255.255.0<br>
                      GATEWAY         = 192.168.31.53<br>
-----------------------------------------------------------------<br>
                      <br>
                      <b>my Virtual Machine template</b><br>
                      <br>
                      CPU=1<br>
                      MEMORY=512<br>
                      <br>
                      OS=[ root="hda" ]<br>
                      <br>
                      DISK=[<br>
                          source="/var/lib/one/images/ubuntu10.img",<br>
                          target="hda",<br>
                          readonly="no",<br>
                          bus="ide" ]<br>
                      <br>
                      NIC=[ NETWORK="LAN" ]<br>
                      FEATURES=[ acpi="no" ]<br>
                      <br>
-------------------------------------------------------------------<br>
                      <br>
                      regards<br>
                    </div>
                  </div>
                </div>
              </div>
              <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
            </blockquote>
            <br>
            <pre cols="72">-- 
gpg key id: 4096R/326D8438  (<a moz-do-not-send="true" href="http://pgp.mit.edu" target="_blank">pgp.mit.edu</a>)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
          </div>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
          <a moz-do-not-send="true"
            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>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
gpg key id: 4096R/326D8438  (pgp.mit.edu)
Key fingerprint = 5FB4 6F83 D3B9 5204 6335  D26D 78DC 68DB 326D 8438

</pre>
  </body>
</html>