A.3.9. チャネルからのファイルの削除
チャネルからファイルを削除するには、次のコマンドを発行します。
rhncfg-manager remove --channel=channel-label
/tmp/dest_path/example-config.txt
RHN のユーザー名とパスワードを求められたら、それらを入力します。次のような出力が表示されます。
Red Hat Network username: rhn-user
Password:
Removing from config channel example-channel3
/tmp/dest_path/example-config.txt removed
以下の表は、rhncfg-manager remove で利用可能なオプションをリストしています:
オプション | 説明 |
---|---|
-cCHANNEL, --channel=CHANNEL-cCHANNEL, --channel=CHANNEL | この設定チャネルからファイルを削除します |
-tTOPDIR, --topdir=TOPDIR | すべてのファイルをこの文字列に相対的にする |
-h, --help | ヘルプメッセージを表示して終了します。 |