title: Cannot VirtualBox to find my preseed file - How does preseed files work with Packer
body: <p><a href="https://i.stack.imgur.com/2EYJ1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2EYJ1.png" alt="error message"></a></p>
  
  <p>I'm newbie to packer, I'm trying to install Ubuntu Os in virtualbox. Unfortunately, when I go to boot try and use my preseed file I get the error message above. Could not find kernel image: preseed/url=http:/ubuntu.</p>
  
  <p>By the way this is all being done by Packer, starting the VM up until when the error message occurs
  Below is my template.json</p>
  
  <pre><code> {
      "builders": [
        {
          "type": "virtualbox-iso",
          "vm_name": "{{ user `alias` }}",
          "vboxmanage": [          
              [ "modifyvm", "{{.Name}}", "--cpus", "1" ],
              [ "modifyvm", "{{.Name}}", "--memory", "2048" ],
              [ "modifyvm", "{{.Name}}", "--clipboard", "bidirectional" ],            
              [ "modifyvm", "{{.Name}}", "--draganddrop", "bidirectional" ],
              [ "modifyvm", "{{.Name}}", "--boot3", "disk" ],
              [ "modifyvm", "{{.Name}}", "--audio", "none" ],  
              [ "modifyvm", "{{.Name}}", "--nic1", "intnet" ],  
              [ "modifyvm", "{{.Name}}", "--nic2", "null" ]
            ],
          "guest_os_type": "Ubuntu_64",
          "iso_url": "{{ user `iso_url` }}",
          "iso_checksum": "{{ user `iso_checksum` }}",
          "iso_checksum_type": "md5",
          "disk_size": "{{ user `disk_size` }}",
          "ssh_username": "{{ user `ssh_username` }}",
          "ssh_password": "{{ user `ssh_password` }}",
          "ssh_timeout": "{{ user `ssh_timeout` }}",
          "guest_additions_mode": "attach",
          "headless": "{{ user `headless` }}",
          "http_directory": "http",
          "boot_wait": "5s",
          "boot_command": [
            "&lt;enter&gt;&lt;wait5&gt;",
            "&lt;esc&gt;&lt;enter&gt;&lt;wait5&gt;",
            "preseed/url=http://{{.HTTPIP}}:{{.HTTPPort}}/ubuntu/{{user `preseed_file`}} ",
            "&lt;enter&gt;"
          ],
          "shutdown_command": "echo 'packer' | sudo -S shutdown -P now"
        }
      ],
      "post-processors": [
        {
          "type": "vagrant",
          "output": "C:/Users/{import/automation/packer/boxes/ubuntu/{{ user `box_name` }}.box"
        }
      ],
      "variables": {
        "headless": "false",
        "iso_checksum": "{{ user `iso_checksum` }}",
        "iso_url": "{{ user `iso_url` }}",
        "disk_size": "256000",
        "alias": "packervm",
        "box_name": "ubuntu_custom",
        "ssh_timeout": "10m",
        "ssh_username": "{{ user `ssh_username` }",
        "ssh_password": "packer",
        "preseed_file":"temp.cfg"
  
      }
    }
  </code></pre>
  
  <p>This is my file directory structure in case</p>
  
  <p><a href="https://i.stack.imgur.com/P9Rsi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P9Rsi.png" alt="file directory"></a>
  What's the problem and how to retrieve the preseed file?</p>