Versions Compared

Key

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

...

  • Edit /etc/init.d/ext_sshd with your favorite editor
    Set or change the following variables: OPTIONS, PID_FILE
    Code Block
    OPTIONS='-f /etc/ssh/external_sshd_config'
    PID_FILE=/var/run/ext_sshd.pid
    

Add a New Image to the VCL Database

Add the image to the VCL database. A row needs to be added to the following tables:

  • image
  • imagerevision
  • resource

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: 7
  • Image name: vmwarewinxp-base7-v1
  • Image prettyname: No Apps (WinXP vmware)
  • OS: WinXP 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 (
'7' , 'vmwarewinxp-base7-v1', 'No Apps (WinXP vmware)', '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 , '7', '1', '1', NOW(), '0', NULL , '1', NULL , 'vmwarewinxp-base7-v1'
)
Code Block

 INSERT INTO `vcl`.`resource` (
`id` ,
`resourcetypeid` ,
`subid`
)
VALUES (
NULL , '13', '7'
)

VMware Only: Create a Virtual Machine

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

  • VMnet0: bridged to private interface: eth0
  • VMnet2: bridged to public interface: eth1