Changeset 988 in ProjectBuilder
- Timestamp:
- Feb 23, 2010, 8:22:02 AM (15 years ago)
- Location:
- devel
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
devel/pb-doc/pb.conf.pod
r987 r988 398 398 399 399 =item B<vesnap> 400 =item B<vetmout> 400 401 Nature: Optional 402 Key: project (as defined in the -p option or PBPROJ environment variable) 403 Value: 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. 404 Conffile: ve 405 Example: vesnap default = true 406 401 407 =item B<vetype> 402 408 409 Nature: Mandatory 410 Key: project (as defined in the -p option or PBPROJ environment variable) 411 Value: chroot|schroot. There are two different ways of launching a chroot activity in pb. For the moment only chroot has been tested. 412 Conffile: ve 413 Example: vertype default = chroot 414 403 415 =item B<vmhost> 416 417 Nature: Mandatory 418 Key: project (as defined in the -p option or PBPROJ environment variable) 419 Value: hostname to connect to in order to reach the VM through ssh. Generally redirected from a port on localhost. 420 Conffile: vm 421 Example: vmhost default = localhost 422 404 423 =item B<vmlist> 405 424 … … 419 438 420 439 =item B<vmmonport> 440 441 Nature: Optional 442 Key: project (as defined in the -p option or PBPROJ environment variable) 443 Value: TCP port that is used to dialog with the monitor of the VM, to pass orders such as snapshot. Not really operational yet. 444 Conffile: vm 445 Example: vmmonport default = 4444 446 421 447 =item B<vmntp> 422 448 … … 436 462 437 463 =item B<vmopt> 464 465 Nature: Optional 466 Key: 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. 467 Value: 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. 468 Conffile: vm 469 Example: vmopt default = -m 384 -daemonize,vmopt mandriva-2009.0-i386 = -m 256 -daemonize -no-kvm 470 438 471 =item B<vmpath> 439 472 … … 445 478 446 479 =item B<vmport> 480 481 Nature: Mandatory 482 Key: project (as defined in the -p option or PBPROJ environment variable) 483 Value: port number to use to communicate with the VM using the SSH protocol. This localport is redirected to the port 22 of the VM. 484 Conffile: vm 485 Example: vmport pb = 2222,vmport mondorescue = 2223 486 447 487 =item B<vmsize> 488 489 Nature: Mandatory 490 Key: project (as defined in the -p option or PBPROJ environment variable) 491 Value: Size of the VM to create when using the newvm command of pb. 492 Conffile: vm 493 Example: vmsize default = 7G 494 448 495 =item B<vmsnap> 496 497 Nature: Optional 498 Key: project (as defined in the -p option or PBPROJ environment variable) 499 Value: 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. 500 Conffile: vm 501 Example: vmsnap default = true 502 449 503 =item B<vmtmout> 504 505 Nature: Optional 506 Key: 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. 507 Value: Time in seconds to way beofre interacting with the VM. This should corresponds to the time the VM takes to boot. 508 Conffile: vm 509 Example: vmtmout default = 180,vmtmout mandriva-2009.0-x86_64 = 500 510 450 511 =item B<vmtype> 512 513 Nature: Mandatory 514 Key: project (as defined in the -p option or PBPROJ environment variable) 515 Value: qemu|kvm. For the moment, only QEMU or KVM are supported as virtualization technologies. 516 Conffile: vm 517 Example: vmrtype default = kvm 518 451 519 =item B<webdir> 520 521 Nature: Optional 522 Key: project (as defined in the -p option or PBPROJ environment variable) 523 Value: Target directory containing the web content in the project that should be delivered when using the web2ssh command of pb. 524 Conffile: project 525 Example: webdir mondorescue = website 452 526 453 527 =item B<pb URL> 454 528 =item B<pb directory desc> 529 =item B<pb environment variables> -
devel/pb/bin/pb
r987 r988 1739 1739 1740 1740 # Get VE context 1741 my ($ptr,$ve tmout,$vepath,$rbsconf) = pb_conf_get("vetype","vetmout","vepath","rbsconf");1741 my ($ptr,$vepath,$rbsconf) = pb_conf_get("vetype","vepath","rbsconf"); 1742 1742 my $vetype = $ptr->{$ENV{'PBPROJ'}}; 1743 1743 -
devel/rpmbootstrap/etc/.pbrc
r987 r988 30 30 velogin default = pb 31 31 32 # Timeout to wait when VE is launched/stopped33 vetmout default = 234 35 32 # per VEs needed paramaters 36 33 veopt default =
Note:
See TracChangeset
for help on using the changeset viewer.