New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firstboot_pkgs_list will not work if behind a proxy #17
Comments
because of issue with ansible, I cannot automate installation of sudo :-( |
You could set the proxy in the environment so that it will be used. |
Yes, I can set the proxy in the environment, and this works. You can see how I am using this vagrant image: buildbot/buildbot-infra#148 and the note about proxies: |
I am suggesting you modify the packer recipe to add the proxy to the environment as part of the install. That way when it boots for the first time, the proxy is already set. |
well having to build my own version of the VM defeast the purpose of using your cool prebuilt ones :) wouldn't it be possible to do the first boot as part of the packer recipe, so that the VM is already initialized? |
I am confused. If you are using this packer recipe you are building your own VM. |
I am using https://atlas.hashicorp.com/freebsd/boxes/FreeBSD-10.3-STABLE which I understand is generated using this reciepe |
No. That is generated by the FreeBSD make release process, which does not use packer at all. |
Trying to make this work behind a corporate proxy, I finally figured out that the box can't work because sudo will never be installed.
I can boot by CTR-C in the console, but will never be able to sudo in this box.
Note that I could work around that by using the root password "vagrant"
The text was updated successfully, but these errors were encountered: