Red Hat NETWORK 3.6 - Informações Técnicas Página 136

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 198
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 135
124 Appendix A. Command Line Config Management Tools
A.2.8. Listing All Config Channels
To list all of your organization’s configuration channels, issue the command:
rhncfg-manager list-channels
You should see output resembling:
Available config channels:
blah
blah2
blah3
config-channel-14
config-channel-17
Note that this does not list local_override or server_import channels.
A.2.9. Removing a File from a Channel
To remove a file from a channel, issue the command:
rhncfg-manager remove
--channel=channel-label
/tmp/dest_path/foo.txt
If prompted for your RHN username and password, provide them. You should see output resembling:
Red Hat Network username: rhn-user
Password:
Removing from config channel blah3
/tmp/dest_path/foo.txt removed
A.2.10. Deleting a Config Channel
To detroy a config channel in your organization, issue the command:
rhncfg-manager remove-channel channel-label
You should see output resembling:
Removing config channel blah
Config channel blah removed
A.2.11. Determining the Number of File Revisions
To find out how many revisions (revisions go from 1 to N with N being an integer greater than 0) of a
file/path are in a channel, issue the command:
rhncfg-manager revisions channel-label /tmp/dest_path/foo.txt
You should see output resembling:
Analyzing files in config channel blah
/tmp/dest_path/foo.txt: 1
Vista de página 135
1 2 ... 131 132 133 134 135 136 137 138 139 140 141 ... 197 198

Comentários a estes Manuais

Sem comentários