<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div apple-content-edited="true" class="">Hi G,
</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">We've recently been experimenting with automating our VM builds and this has brought up an interesting issue when we have multiple Ensembl virtual machine appliances imported into the same VirtualBox infrastructure. This manifested itself as us being unable to SSH onto the running machine. A quick solution is:</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class=""><div apple-content-edited="true" class="">sudo rm /etc/udev/rules.d/70-persistent-net.rules</div><div apple-content-edited="true" class="">sudo mkdir /etc/udev/rules.d/70-persistent-net.rules</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">The problem is that Ubuntu remembers what MAC address it was assigned and writes this to the persistent rules file. VirtualBox, when it imports an appliance, will attempt to assign the VM the MAC address it was packaged with but will also check for MAC address collisions. When there is a collision VirtualBox assigns a new MAC address to the new appliance. Ubuntu is now confused and refuses to interface with the external network.</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">Replacing the persistent rules file with a directory prevents Ubuntu from remembering as it's not possible to write a line to directory :).</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">There's more information available from <a href="https://github.com/mitchellh/packer/issues/866" class="">https://github.com/mitchellh/packer/issues/866</a> and you can see a shell script version of this solution with Chef's bento project at <a href="https://github.com/chef/bento/blob/master/scripts/ubuntu/networking.sh" class="">https://github.com/chef/bento/blob/master/scripts/ubuntu/networking.sh</a>.</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">We are going to put this step into our VM deployment SOP to make sure the problem doesn't arise again</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">Hope this helps,</div><div apple-content-edited="true" class=""><br class=""></div><div apple-content-edited="true" class="">Andy</div></div>
<br class=""><div><blockquote type="cite" class=""><div class="">On 27 Aug 2015, at 09:06, mag <<a href="mailto:mr6@ebi.ac.uk" class="">mr6@ebi.ac.uk</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta content="text/html; charset=windows-1252" http-equiv="Content-Type" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    Hi G,<br class="">
    <br class="">
    I just tested the latest VM on my Mac, downloading a fresh copy, and
    had no connectivity issue.<br class="">
    Do you get any error messages?<br class="">
    <br class="">
    I can resize the window, but the block inside does not change, we
    will look into how to fix this for next release.<br class="">
    <br class="">
    As for GRCh37, you simply need to replace the default 3306 port to
    3337 to connect to the 81 release of GRCh37 databases.<br class="">
    <br class="">
    <br class="">
    Regards,<br class="">
    Magali<br class="">
    <br class="">
    <div class="moz-cite-prefix">On 26/08/2015 20:27, Genomeo Dev wrote:<br class="">
    </div>
    <blockquote cite="mid:20150826192730.19CFE13444F_5DE1322B@hx-mx2.ebi.ac.uk" type="cite" class="">
      <div dir="ltr" class="">Dear all,
        <div class=""><br class="">
        </div>
        <div class="">I am using a MAC and I have the following questions:</div>
        <div class=""><br class="">
        </div>
        <div class="">- When loading the latest ensembl VM 81 into virtual box,
          it does not seem to be able to connect to the network and also
          the session can not be resized to fit the monitor. I do not
          have such issues with VM 75 for example.</div>
        <div class="">- If I want to use grch37 in the latest VM (81), what is
          the latest folder ensembl-api-folder to use?<br clear="all" class="">
          <div class=""><br class="">
          </div>
          <div class="">Thanks,</div>
          <div class=""><br class="">
          </div>
          -- </div>
        <div class="">
          <div class="gmail_signature">
            <div dir="ltr" class="">G.</div>
          </div>
        </div>
      </div>
      <br class="">
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br class="">
      <pre wrap="" class="">_______________________________________________
Dev mailing list    <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
    </blockquote>
    <br class="">
  </div>

_______________________________________________<br class="">Dev mailing list    <a href="mailto:Dev@ensembl.org" class="">Dev@ensembl.org</a><br class="">Posting guidelines and subscribe/unsubscribe info: <a href="http://lists.ensembl.org/mailman/listinfo/dev" class="">http://lists.ensembl.org/mailman/listinfo/dev</a><br class="">Ensembl Blog: <a href="http://www.ensembl.info/" class="">http://www.ensembl.info/</a><br class=""></div></blockquote></div><br class=""></body></html>