Comments (8)
because of issue with ansible, I cannot automate installation of sudo :-(
from packer-freebsd.
You could set the proxy in the environment so that it will be used.
from packer-freebsd.
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.
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.
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.
I am confused. If you are using this packer recipe you are building your own VM.
from packer-freebsd.
I am using https://atlas.hashicorp.com/freebsd/boxes/FreeBSD-10.3-STABLE which I understand is generated using this reciepe
from packer-freebsd.
No. That is generated by the FreeBSD make release process, which does not use packer at all.
from packer-freebsd.
Related Issues (13)
- stock 'freebsd/FreeBSD-11.0-CURRENT' box provision failure, sudo unable to load libpam.so.6 HOT 2
- Freebsd 11 is no longer CURRENT HOT 1
- password retyping fails HOT 4
- Old releases like 7.0 HOT 1
- VMware incompatible with EFI
- NFS shared folders require a Vagrant hack...
- Avoid path constraints to packer binary
- unknown configuration key: "ssh_disable_agent"
- ISO hash mismatch due to dead ISO URLs
- Vagrant packer templates for 12-CURRENT...
- FreeBSD current template is invalid HOT 1
- Weird message HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from packer-freebsd.