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

Implement default state for VMs #10

Open
niksy opened this issue May 10, 2014 · 2 comments
Open

Implement default state for VMs #10

niksy opened this issue May 10, 2014 · 2 comments

Comments

@niksy
Copy link

niksy commented May 10, 2014

VirtualBox allows changing properties for VMs via CLI using modifyvm: http://www.virtualbox.org/manual/ch08.html#vboxmanage-modifyvm

This allows user to set some defaults for particular VM without fiddling with GUI.

I was wondering if this could be implemented as automated process in iectrl.

Idea: You have one JSON config file in root of your user folder (e.g. .ievmsrc) with key/value corresponding to various properties exposed for modifyvm command, e.g.

{
  "audio": "none",
  "clipboard": "bidirectional",
  "acpi": false
}

This would translate to following commands:

VBoxManage modifyvm "IE8 - WinXP" --audio none
VBoxManage modifyvm "IE8 - WinXP" --clipboard bidirectional
VBoxManage modifyvm "IE8 - WinXP" --acpi off

This would be run on install, rearm and any other process which would create new VM, and could be also run via new command which would modify existing VMs, e.g iectrl update [vm]

Also, config file could be expanded to have one more level which will allow to have specific properties for specific VMs.

What do you think about this?

@romanostolosh-devpronet

+1
Also I would suggest having a scenario of running custom script as post-install option, so it is possible to perform additional configuration of guest system such as installing additional programs

@niksy
Copy link
Author

niksy commented Nov 8, 2015

Any status on this?

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

No branches or pull requests

2 participants