-
Notifications
You must be signed in to change notification settings - Fork 3
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
Todo list updates in Readme #1
base: master
Are you sure you want to change the base?
Conversation
I think the primary goal is an automated vagrantification, so from a clean iso
Any more? |
I guess Packer was made to be a better alternative to veewee. Anyway its ok for me. I'll try to run the current prepare script on a blank box and see how far I get. There's some other issues with the current box. When I add a private or public network(host only/bridged) to the @aszeszo box it doesn't finish the boot and I can't There is a opt-tools-virtualbox-20130407 package at http://dlc-int.openindiana.org/aszeszo/vagrant/scripts/ . I guess this makes the shared folders magic happen. Not sure if this is something written by @aszeszo or ported from somewhere. If you want to look around in the global zone then the root password is |
I tried this https://gist.github.com/tonistiigi/5907299 but with little luck. |
I have been trying to manually prepare the image. I am stuck at the point of connecting It looks like the original script is messing with the loopback IP here where they change it to I assume that the incoming SSH connection will be looking for 127.0.0.1 and perhaps be routed instead to the VM. This is the part I cannot figure out what's going on. Any ideas? |
I got ssh working into the non-global zone by using https://gist.github.com/jacobgroundwater/5915312 It basically forwards all traffic destined for the GZ to the vagrant zone. It works, but most of these configurations are not persistent, and the zone doesn't auto-start. |
Cool. Will check it out later. For autostart/persistence it just needs some SMF scripts? |
That's what the original script seems to do. The only persistent places on disk are in the zpool. A slightly trimmed list of our options is as follows:
Thus we can only keep persistent data in |
Okay, I got the
I have an install script from the Virtualbox guest additions downloadable ISO |
I'm still traveling and can't test on crappy hotel/airport wifi, but looking at your script, one thing I did wrong in my script is that I never copied Anyway seems you have made great progress. Any chance of getting the host-only IP assignment working? Or is it working already? |
I got similar results as with my own scripts. I guess the thing I'm doing wrong has something to do with exporting the box file. When I set up the box everything seems to work fine, shared folders work and when I ssh to 2222 I get into the vagrant zone. But after I export it to ovf and try to make a reusable vagrant box out of it(https://gist.github.com/tonistiigi/5907299#file-make-vagrant-smartos-L52) One other thing I noticed is that currently the vagrant folder is mounted at boot but I guess this is something vagrant itself should do because there may be other folders defined in Vagrantfile. Or maybe there is a way to check what folders are shared and mount them all. |
I haven't had much bandwidth for this project recently. I have to say, I think SmartOS is a bit broken by design, and this is yielding almost all of the problems we're encountering. SmartOS is both a hypervisor and a user-land operating system. VMWare is a hypervisor, Xen is a hypervsisor, and neither of these are things I wish to run on top of Vagrant. Ubuntu is just an operating system; SmartOS is trying to be both. We are spending a lot of time working around the hypervisor/global-zone part of SmartOS, when we really don't care about it. I think if this is going to go anywhere, we need to figure out how to build the user-land SmartOS image without touching zones. I am happy to explain how all of my scripts work, and they do get the image pretty far along, but I think I am going to move on to other projects for now. |
No description provided.