diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 000f87f93..559f11b29 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -39,14 +39,15 @@ use xCAT::ExtTab; #New format, not sql statements, but info enough to describe xcat tables %tabspec = ( vm => { - cols => [qw(node host migrationdest storage memory cpus nics bootorder clockoffset virtflags vncport textconsole beacon comments disable)], + cols => [qw(node host migrationdest storage cfgstore memory cpus nics bootorder clockoffset virtflags vncport textconsole beacon comments disable)], keys => [qw(node)], table_desc => 'Virtualization parameters', descriptions => { 'node' => 'The node or static group name', 'host' => 'The system that currently hosts the VM', 'migrationdest' => 'A noderange representing candidate destinations for migration (i.e. similar systems, same SAN, or other criteria that xCAT can use', - 'storage' => 'A list of storage files or devices to be used, pipe delimited. i.e. /cluster/vm/', + 'storage' => 'A list of storage files or devices to be used, pipe delimited. i.e. /cluster/vm/ for KVM/Xen, or nfs:///path/to/folder/ for VMware', + 'cfgstore' => 'Optional location for persistant storage separate of emulated hard drives for virtualization solutions that require persistant store to place configuration data', 'memory' => 'Megabytes of memory the VM currently should be set to.', 'cpus' => 'Number of CPUs the node should see.', 'nics' => 'Network configuration parameters', @@ -1153,6 +1154,10 @@ my @nodeattrs = ( tabentry => 'vm.storage', access_tabentry => 'vm.node=attr:node', }, + {attr_name => 'vmcfgstore', + tabentry => 'vm.cfgstore', + access_tabentry => 'vm.node=attr:node', + }, {attr_name => 'vmmemory', tabentry => 'vm.memory', access_tabentry => 'vm.node=attr:node',