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

Hypervisor Settings via Vagrantfile #3

Open
ramereth opened this issue Jul 29, 2013 · 2 comments
Open

Hypervisor Settings via Vagrantfile #3

ramereth opened this issue Jul 29, 2013 · 2 comments

Comments

@ramereth
Copy link
Member

For powerusers it would be useful to have access to hypervisor specific settings (aka hvparams). This would be for things such as boot order, vnc settings, etc and all be optional. One thing to note is that there are different hypervisor settings for xen vs. kvm for example. Ideally I would like to interface with this using ganeti.hvparams.boot_order as an example.

Take a look at the gnt-instance man page for all the supported hvparams.

@ahmedshabib
Copy link
Member

Since boot_order is a sub parameter inside hvparam .How about Adding the configuration format in the following way

Vagrant.configure("2") do |config|
  # ... other stuff

  config.vm.provider :ganeti do |ganeti|
    ganeti.rapi_user= "foo"
    ganeti.rapi_pass = "bar"

    # More comprehensive hvparam config
    ganeti.hvparam "sample" do |settings|
      settings.bootorder = "something"
    end
  end
end

@ramereth
Copy link
Member Author

ramereth commented Aug 6, 2013

Specifically, lets add the following:

  • boot_order
  • cdrom_image_path
  • nic_type
  • disk_type
  • cpu_type
  • kernel_path
  • kernel_args
  • initrd_path
  • root_path
  • serial_console
  • kvm_flag

I think that's a good start and we can add more as folks request them. I tried to pick ones that people may need the most.

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

No branches or pull requests

2 participants