cobbler_tftp package

Subpackages

Submodules

cobbler_tftp.cli module

Cobbler-tftp will be managable as a command-line service.

cobbler_tftp.utils module

Various utility functions for cobbler-tftp

cobbler_tftp.utils.copy_file(src_dir: Traversable, dst_dir: Path, name: str, patch: List[Tuple[str, str]] | None = None)

Copy a file to a different directory, preserving the name and possibly replacing strings in it.

Parameters:
  • src_dir – Directory that contains the file to copy.

  • dst_dir – Directory to copy the file into.

  • name – Name of the file (in both directories).

  • patch – List of (old, new) strings to replace in the file.

Module contents

Cobbler-TFTP provides a stateless TFTP-Server as an alternative method of operations for cobbler sync.