Coder Social home page Coder Social logo

Comments (8)

tardyp avatar tardyp commented on September 18, 2024

because of issue with ansible, I cannot automate installation of sudo :-(

ansible/ansible#12537

from packer-freebsd.

brd avatar brd commented on September 18, 2024

You could set the proxy in the environment so that it will be used.

from packer-freebsd.

tardyp avatar tardyp commented on September 18, 2024

Yes, I can set the proxy in the environment, and this works.
But I cannot fully automate the vagrant provisioning with this. I need to make some manual setup after vagrant up.

You can see how I am using this vagrant image: buildbot/buildbot-infra#148

and the note about proxies:
+Development with proxies
+------------------------
+Because of #17 the boostrap will not work.
+upon VM creation by vagrant, vagrant will indefinitly try to connect via ssh.
+- You need to run virtualbox manually, and go to the freebsd console.
+- Hit CTRL-C will stop the firstboot script and give you login prompt
+- use root:vagrant
+- setenv http_proxy http://xxx
+- pkg install -y sudo
+- then you can run 'vagrant provision' again
+

from packer-freebsd.

brd avatar brd commented on September 18, 2024

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.

from packer-freebsd.

tardyp avatar tardyp commented on September 18, 2024

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?

from packer-freebsd.

brd avatar brd commented on September 18, 2024

I am confused. If you are using this packer recipe you are building your own VM.

from packer-freebsd.

tardyp avatar tardyp commented on September 18, 2024

I am using https://atlas.hashicorp.com/freebsd/boxes/FreeBSD-10.3-STABLE which I understand is generated using this reciepe

from packer-freebsd.

brd avatar brd commented on September 18, 2024

No. That is generated by the FreeBSD make release process, which does not use packer at all.

from packer-freebsd.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.