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

Update to support python3 #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

brad-x
Copy link

@brad-x brad-x commented Mar 2, 2022

Also updates to move away from deprecated plistlib functions

@@ -182,16 +189,17 @@ def job_to_vmx(self, job_id):

def get_ip(self, vmx):
count = 1
while count <= 36:
while count <= 5:
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

36 5 second round-trips through this created a lengthy startup period per-VM - if we can't get an IP from the instance within 15 seconds on a modern system we should probably bail (opinionated change admittedly)

@@ -148,7 +155,7 @@ def get_running(self):
return d

def start_vmx(self, vmx):
cmd = [self.vmrun, 'start', vmx]
cmd = [self.vmrun, 'start', vmx, 'nogui']
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another opinionated change here to launch VM's in the background. Would probably be better to have this be a flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant