-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
scripting: allow creation of macos vm #7125
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
base: main
Are you sure you want to change the base?
Conversation
By accepting 'operating system' field, we will configure the os in boot section If macos, we required 'ipsw' to be present and configure the same to vm.
3fdf38c to
5c29a52
Compare
| description="Operating system (cannot be changed after creation)."/> | ||
|
|
||
| <property name="ipsw" code="IpSw" type="file" | ||
| description="Macos recovery IPSW (cannot be changed after creation)."/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
“macOS recovery IPSW”?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to change it to whatever is correct
|
@naveenrajm7 after this is merged, could you add an AppleScript example here that creates a MacOS VM? This is a very useful addition to allow full automation of creating a test VM. It might be worth adding to documentation too. |
3c98442 to
a0978bd
Compare
| <property name="notes" code="NoTe" type="text" | ||
| description="User-specified notes."/> | ||
|
|
||
| <property name="operating system" code="OpSy" type="text" access="r" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you should change the type of this to an enumeration (macOS/Linux) instead of a free text string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@wjk @naveenrajm7 Is this the only thing holding us off? Would love to get automate macOS guest creation.
(great work with Vagrant and Packer, @naveenrajm7 🙏🏻)
Fixes #6982
By accepting 'operating system' field, we will configure the os in the boot section.
If macOS, we require 'ipsw' to be present and configure it to the vm.