title: How do I increase the RAM and set up host-only networking in Vagrant?
body: <p>I would like to increase the RAM to at least 1 GB and I would like to configure “Host-Only” networking to use "199.188.44.20".</p>
  
  <p>This is my <code>Vagrantfile</code>:</p>
  
  <pre class="lang-rb prettyprint-override"><code># -*- mode: ruby -*-
  # vi: set ft=ruby :
  
  Vagrant::Config.run do |config|
  
      config.vm.customize ["modifyvm", :id, "--memory", 1024]
  
      config.vm.network :hostonly, "199.188.44.20"
  
      config.vm.define :web do |web_config|
          web_config.vm.box = "lucid32"
          web_config.vm.forward_port 80, 8080
  
          web_config.vm.provision :puppet do |puppet|
              puppet.manifests_path = "manifests"
              puppet.manifest_file = "lucid32.pp"
          end
      end
  
      config.vm.define :web2 do |web2_config| 
          web2_config.vm.box = "lucid32"
          web2_config.vm.forward_port 80, 8081
  
          web2_config.vm.provision :puppet do |puppet|
              puppet.manifests_path = "manifests"
              puppet.manifest_file = "myweb.pp"
          end
      end
  end
  </code></pre>
  
  <p>However, when I run <code>vagrant up</code> I am getting:</p>
  
  <blockquote>
    <p><em>The VM failed to remain in the "running" state while attempting to boot. This is normally cause by a misconfiguration or host system incompatibles. Please open the VirtualBox GUI and attempt to boot the virtual machine manually to get more informative error message</em></p>
  </blockquote>
  
  <p>And, I am getting a <code>connection refuse</code> error when I try to log in to the VM.</p>