title: How to install a bundle on boot in Karaf
body: <p>I came across this <a href="https://stackoverflow.com/questions/9428780/how-to-start-a-bundle-on-boot-in-apache-karaf">post</a> but it doesn't quite answer my question. I am using blueprint to set up a H2 database in Karaf and it requires that I first install H2 driver and OSGi enterprise package because it contains JDBC library.</p>
  
  <pre><code>install -s mvn:org.osgi/org.osgi.enterprise/4.2.0
  install -s mvn:com.h2database/h2/1.3.174
  </code></pre>
  
  <p>I added the blueprint XML file to Karaf's deploy folder and it keeps giving error messages until I install H2 and enterprise package. Ideally, I would like to install both enterprise and H2 before the blueprint script kicks in, so I am thinking somehow add it to karaf's boot process but I am not sure how.</p>
  
  <p>Any insights will be much appreciated. </p>