Перейти к содержанию

repo

Использование

system repo [-h] [--to_file] {get,update,edit,source} ...

Описание

Управление источниками приложений.

Аргументы

  • get - Get currently existing repository files.
  • update - Manipulating SpaceVM repository, subcommand: host, extra, base, default.
  • edit - Edit apt yaml.
  • source - Manipulating source repository, subcommand: add or del
  • --to_file - Redirect output to file (/tmp/cli-stdout.txt).

Примеры использования

  • system repo update host http://10.10.10.100
  • system repo update extra extra-630
  • system repo update base prod-630
  • system repo update default
  • system repo source add --repos 'main contrib non-free' -c 'This is the SpaceVM unstable repo' -l 'http://update.spacevm.ru/debian/' -r 'unstable' -p '-10' -k 'subkeys.pgp.net:1FF052FFB5ADB71113B1660F76BBA7F340BF66A1' -i '!src deb' space_unstable
  • system repo source del space_unstable