Changeset 988 in ProjectBuilder for devel


Ignore:
Timestamp:
Feb 23, 2010, 8:22:02 AM (14 years ago)
Author:
Bruno Cornec
Message:

r3704@localhost: bruno | 2010-02-22 00:35:17 +0100

  • Updated pb.conf configuration (mostly done)
  • vetmout removed
Location:
devel
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • devel/pb-doc/pb.conf.pod

    r987 r988  
    398398
    399399=item B<vesnap>
    400 =item B<vetmout>
     400
     401Nature: Optional
     402Key: project (as defined in the -p option or PBPROJ environment variable)
     403Value: true|false. True means that the snapshot of the VE should be used before call to the VE. This snapshot consists of a compressed tar pf the VE. Which means that you will always start from a known state, resulting of a former snapshot operation on the VE. Also speeds up a lot the VM launch operation.
     404Conffile: ve
     405Example: vesnap default = true
     406
    401407=item B<vetype>
    402408
     409Nature: Mandatory
     410Key: project (as defined in the -p option or PBPROJ environment variable)
     411Value: chroot|schroot. There are two different ways of launching a chroot activity in pb. For the moment only chroot has been tested.
     412Conffile: ve
     413Example: vertype default = chroot
     414
    403415=item B<vmhost>
     416
     417Nature: Mandatory
     418Key: project (as defined in the -p option or PBPROJ environment variable)
     419Value: hostname to connect to in order to reach the VM through ssh. Generally redirected from a port on localhost.
     420Conffile: vm
     421Example: vmhost default = localhost
     422
    404423=item B<vmlist>
    405424
     
    419438
    420439=item B<vmmonport>
     440
     441Nature: Optional
     442Key: project (as defined in the -p option or PBPROJ environment variable)
     443Value: TCP port that is used to dialog with the monitor of the VM, to pass orders such as snapshot. Not really operational yet.
     444Conffile: vm
     445Example: vmmonport default = 4444
     446
    421447=item B<vmntp>
    422448
     
    436462
    437463=item B<vmopt>
     464
     465Nature: Optional
     466Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
     467Value: list of options to pass to the VM manager command launcher for that distribution. Another way to pass options to the VM manager command launcher is by using the PBVMOPT environment variable, which comes in addition to his option.
     468Conffile: vm
     469Example: vmopt default = -m 384 -daemonize,vmopt mandriva-2009.0-i386 = -m 256 -daemonize -no-kvm
     470
    438471=item B<vmpath>
    439472
     
    445478
    446479=item B<vmport>
     480
     481Nature: Mandatory
     482Key: project (as defined in the -p option or PBPROJ environment variable)
     483Value: port number to use to communicate with the VM using the SSH protocol. This localport is redirected to the port 22 of the VM.
     484Conffile: vm
     485Example: vmport pb = 2222,vmport mondorescue = 2223
     486
    447487=item B<vmsize>
     488
     489Nature: Mandatory
     490Key: project (as defined in the -p option or PBPROJ environment variable)
     491Value: Size of the VM to create when using the newvm command of pb.
     492Conffile: vm
     493Example: vmsize default = 7G
     494
    448495=item B<vmsnap>
     496
     497Nature: Optional
     498Key: project (as defined in the -p option or PBPROJ environment variable)
     499Value: true|false. True means that the snapshot of the VM called pb should be used. Which means that you will always start from a known state, resulting of a former snapshot operation on the VM. Also speeds up a lot the VM launch operation.
     500Conffile: vm
     501Example: vmsnap default = true
     502
    449503=item B<vmtmout>
     504
     505Nature: Optional
     506Key: OS (could be from the most generic up to the most specific from ostype, osfamily, os, os-ver, os-ver-arch). NB: a default value is highly interesting here.
     507Value: Time in seconds to way beofre interacting with the VM. This should corresponds to the time the VM takes to boot.
     508Conffile: vm
     509Example: vmtmout default = 180,vmtmout mandriva-2009.0-x86_64 = 500
     510
    450511=item B<vmtype>
     512
     513Nature: Mandatory
     514Key: project (as defined in the -p option or PBPROJ environment variable)
     515Value: qemu|kvm. For the moment, only QEMU or KVM are supported as virtualization technologies.
     516Conffile: vm
     517Example: vmrtype default = kvm
     518
    451519=item B<webdir>
     520
     521Nature: Optional
     522Key: project (as defined in the -p option or PBPROJ environment variable)
     523Value: Target directory containing the web content in the project that should be delivered when using the web2ssh command of pb.
     524Conffile: project
     525Example: webdir mondorescue = website
    452526
    453527=item B<pb URL>
    454528=item B<pb directory desc>
     529=item B<pb environment variables>
  • devel/pb/bin/pb

    r987 r988  
    17391739
    17401740        # Get VE context
    1741         my ($ptr,$vetmout,$vepath,$rbsconf) = pb_conf_get("vetype","vetmout","vepath","rbsconf");
     1741        my ($ptr,$vepath,$rbsconf) = pb_conf_get("vetype","vepath","rbsconf");
    17421742        my $vetype = $ptr->{$ENV{'PBPROJ'}};
    17431743
  • devel/rpmbootstrap/etc/.pbrc

    r987 r988  
    3030velogin default = pb
    3131
    32 # Timeout to wait when VE is launched/stopped
    33 vetmout default = 2
    34 
    3532# per VEs needed paramaters
    3633veopt default =
Note: See TracChangeset for help on using the changeset viewer.