Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

These rows need to be added to the database manually either by using SQL commands or phpMyAdmin.  The following SQL statements assume the following properties of the image:

  • Image ID: 78
  • Image name: vmwarewinxpvmwarelinux-base7base8-v1
  • Image prettyname: No Apps (WinXP vmwareLinux distro name)
  • OS: WinXP Linux under VMWare - NOTE: If you are using something else, make sure you set OSid to correctly match the OS table.
Code Block
INSERT INTO `vcl`.`image` (
`id` ,
`name` ,
`prettyname` ,
`ownerid` ,
`platformid` ,
`OSid` ,
`imagemetaid` ,
`minram` ,
`minprocnumber` ,
`minprocspeed` ,
`minnetwork` ,
`maxconcurrent` ,
`reloadtime` ,
`deleted` ,
`test` ,
`lastupdate` ,
`forcheckout` ,
`maxinitialtime` ,
`project` ,
`size` ,
`architecture` ,
`description` ,
`usage` ,
`basedoffrevisionid`
)
VALUES (
'78' , 'vmwarewinxpvmwarelinux-base7base8-v1', 'No Apps (WinXP vmwareLinux)', '1', '1', '16', NULL,
'512', '1', '1024', '100', NULL , '5', '0', '0', NOW(), '1', '0', 'vcl', '1500',
'x86', NULL , NULL , '0'
);
Code Block
 INSERT INTO `vcl`.`imagerevision` (
`id` ,
`imageid` ,
`revision` ,
`userid` ,
`datecreated` ,
`deleted` ,
`datedeleted` ,
`production` ,
`comments` ,
`imagename`
)
VALUES (
NULL , '78', '1', '1', NOW(), '0', NULL , '1', NULL , 'vmwarewinxpvmwarelinux-base7base8-v1'
)
Code Block
 INSERT INTO `vcl`.`resource` (
`id` ,
`resourcetypeid` ,
`subid`
)
VALUES (
NULL , '13', '78'
)

VMware Only: Create a Virtual Machine

The instructions assume that VMware has been configured with the following bridged networks:

...