Skip to content

Vendor Option Space

mattpascoe edited this page Nov 7, 2012 · 1 revision

Vendor Options

This is how you can create Vendor Options via ONA. Lets say you want to support some special Sun boot options.

  1. First you should configure some high level configurations in the header file
class "vendor-classes" {
  match option vendor-class-identifier;
}

subclass "vendor-classes" "SUNW.Ultra-5_10" {
  vendor-option-space SUNW;
  option SUNW.root-path "/export/root/sparc";
}

  1. Now you must add a dhcp option to ONA. Do this in Menu->Admin->Manage DHCP Options. When you add the Option Name, name it 'SUNW.root-path' and give it the appropriate option number. This will add the following line to the configuration for you:
option SUNW.root-path code 7777 = string;
  1. Now assign the option to a host/subnet/server.

As long as your vendor class matches what has been defined it will switch to using the SUNW vendor option space. Then you simply set options within that space.

Clone this wiki locally