qemu provisioner "Basic Example" issues #879

Closed
ankon opened this Issue Feb 11, 2014 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

ankon commented Feb 11, 2014

I was trying to follow the qemu 'basic example' steps, and found them to be not working (in fact the system came back with an error about a missing /tmp/kspre.cfg)

Ultimately I think there a few issues:

  1. The referenced centos6-ks.cfg (https://gist.github.com/mitchellh/7328271/raw/c91e0c4fa19c171a40b016c6c8f251f90d2ad0ba/centos6-ks.cfg) has a '&lt;&lt;' in it, which should be '<<'.
  2. I added a '<tab>' before the the ' ks=...' boot command, and a '<enter>' after it to have the build actually continue
  3. In the JSON file I modified the 'ks=' URL to use '{{ .HTTPIP}}:{{ .HTTPPort }}', I'm not sure whether this is strictly required but it looks "safer" to me.
Owner

mitchellh commented Feb 22, 2014

All fixed up. Thanks!

mitchellh closed this Feb 22, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment