Skip to content
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

Support for using created boxes with mech #26

Closed
egandro opened this issue Feb 9, 2019 · 9 comments
Closed

Support for using created boxes with mech #26

egandro opened this issue Feb 9, 2019 · 9 comments
Labels
enhancement New feature or request

Comments

@egandro
Copy link
Contributor

egandro commented Feb 9, 2019

There is a 100% opensource driver for Vagrant <-> VMWare:

https://blog.kchung.co/mech-vagrant-with-vmware-integration-for-free/

This is the GIT Page:

https://github.com/mechboxes/mech

@bacongravy
Copy link
Owner

bacongravy commented Feb 9, 2019

From what I can tell, the mech project is a substitute for needing Vagrant and the Vagrant VMware Desktop Provider. I haven't tried it myself.

The macinbox README is a little misleading; although Vagrant and the VMware provider are listed as dependencies, they are not actually used by macinbox. I included mention of them in the README for people who plan to boot the boxes and might not realize that Vagrant doesn't natively support VMware boxes.

Note that macinbox does put some customizations into the Vagrantfiles embedded in the created boxes, so the boxes may behave a little bit differently with mech than they do with vagrant.

If you've verified that mech is effective at booting macinbox boxes and would like to propose an addition to the README I'm happy to review a PR!

@egandro
Copy link
Contributor Author

egandro commented Feb 9, 2019

Can we add some flavour to the VMware creation and make it mech aware?

@bacongravy
Copy link
Owner

The customization that goes into the embedded Vagrantfiles manages whether or not the GUI is displayed and whether or not the window starts in fullscreen mode or not.

If you can determine what macinbox would need to do to create boxes that had that behavior with mech I'd be happy to consider it.

@bacongravy bacongravy changed the title Replace the Vagrant VMWare driver with an opensource solution. Support for using created boxes with mech Feb 9, 2019
@bacongravy bacongravy added the enhancement New feature or request label Feb 9, 2019
@egandro
Copy link
Contributor Author

egandro commented Feb 9, 2019

I really really want to have a full feature blown automatic setup for VM Boxes with XCode gitlab-runner, Applium on the iOS emulator and the Selenium for Safari.

Starting with 10.13 Apple makes this so hard to create the environment it via script :(

Currently I am evaluating multiple scenarios using the new Mac Mini 2018 with 32/65 GB.

  1. Running native OSX (+ add VMs)
  2. Running ESXi and having all Machines VMed

What are you doing with macinbox?

@bacongravy
Copy link
Owner

I use macinbox boxes as dev environments. I have a lot of small projects ongoing, and each project I work on is in a different VM. I wish you luck in getting your CI/CD box working.

If you know any tricks for automating the install of Xcode I'd love to hear them! That is still a manual step for me after I boot the boxes.

@egandro
Copy link
Contributor Author

egandro commented Feb 9, 2019

If you know any tricks for automating the install of Xcode I'd love to hear them! That is still a manual step for me after I boot the boxes.

Well... I do VNC "automatization" - this feels sooo ugly :(

Do you know a way of enabling VNC from CLI with a custom passwort?

Here my script:

`
########################### Screen Saver
move 0 0 click 1
sleep 10

capture 001_start.png

########################### Login
move 960 465 click 1
type {{ ADMIN_USER_PASSWORD }} key enter
sleep 10

capture 002_after_login.png

########################### System Extensions Blocked Dialog (might be on our screen)
move 1110 366 click 1
move 1110 388 click 1
type key esc
sleep 10
`

@egandro
Copy link
Contributor Author

egandro commented Feb 9, 2019

Btw. for X-Code you can download the file "Xcode_10.1.xip" from apple.

You don't have to go with an Apple ID

@egandro
Copy link
Contributor Author

egandro commented Feb 12, 2019

This looks even better :)

https://github.com/josenk/vagrant-vmware-esxi

@egandro
Copy link
Contributor Author

egandro commented Feb 12, 2019

I am closing this.

the vagrand-vmware-esxi works perfect.

It seams that we need a way to ad a specific darwin iso.

@egandro egandro closed this as completed Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants