xdissent / ievms

Automated installation of the Microsoft IE App Compat virtual machines
http://xdissent.github.com/ievms
9.85k stars 495 forks source link

Automatically accept the terms for the license #329

Closed gileswells closed 3 years ago

gileswells commented 7 years ago

Currently those that haven't accepted the terms will have a broken script run. This solves that.

gileswells commented 7 years ago

This isn't a perfect fix as I had to run the install twice but it gets us closer

xurizaemon commented 7 years ago

Automatically accepting a license might be a change worth review, IDK the legal of that.

As of 5.1.22 the output of accepting the license includes eg

$ VBoxManage extpack install ~/.ievms/Oracle_VM_VirtualBox_Extension_Pack-5.1.22.vbox-extpack

[legal blah] (y/n)?

License accepted. For batch installaltion add 
--accept-license=715c7...

So we could record & reuse that 64-char string once accepted. (If parsing for this, heads up on the typo in "installation" as of 5.1.22.)