linode.config.create()
Creates a Linode Configuration Profile.
Parameters
- LinodeID - numeric (required)
- KernelID - numeric (required)
The KernelID for this profile. Found in avail.kernels()
- Label - string (required)
The Label for this profile
- Comments - string (optional)
Comments you wish to save along with this profile
- RAMLimit - numeric (optional)
RAMLimit in MB. 0 for max.
- DiskList - string (required)
A comma delimited list of DiskIDs; position reflects device node. The 9th element for specifying the initrd.
- virt_mode - string (optional)
Controls the virtualization mode. One of 'paravirt', 'fullvirt'
- RunLevel - string (optional)
One of 'default', 'single', 'binbash'
- RootDeviceNum - numeric (optional)
Which device number (1-8) that contains the root partition. 0 to utilize RootDeviceCustom.
- RootDeviceCustom - string (optional)
A custom root device setting.
- RootDeviceRO - boolean (optional)
Enables the 'ro' kernel flag. Modern distros want this.
- helper_disableUpdateDB - boolean (optional)
Enable the disableUpdateDB filesystem helper
- helper_distro - boolean (optional)
Enable the Distro filesystem helper. Corrects fstab and inittab/upstart entries depending on the kernel you're booting. You want this.
- helper_xen - boolean (optional)
Deprecated - use helper_distro.
- helper_depmod - boolean (optional)
Creates an empty modprobe file for the kernel you're booting.
- helper_network - boolean (optional)
Automatically creates network configuration files for your distro and places them into your filesystem.
- devtmpfs_automount - boolean (optional)
Controls if pv_ops kernels should automount devtmpfs at boot.
Example Response
{
"ERRORARRAY":[],
"ACTION":"linode.config.create",
"DATA":{
"ConfigID":31239
}
}
Errors
NOTFOUND, VALIDATION