コマンドラインでプロキシにクライアントを登録する
Instead of the Web UI, you can use the command line to register a client to a proxy. This procedure requires that you have installed the Salt package on the client before registration. For SLE 12 based clients, you also must have activated the Advanced Systems Management module.
プロシージャ: コマンドラインを使用してクライアントをプロキシに登録する
-
次の場所にあるクライアント設定ファイルを選択します。
/etc/salt/minion
または
/etc/salt/minion.d/NAME.conf
これはminionファイルと呼ばれることもあります。
-
プロキシFQDNを
マスタとしてクライアント設定ファイルに追加します。master: PROXY123.EXAMPLE.COM
-
Restart the
salt-minionservice:systemctl restart salt-minion
-
On the server, accept the new client key; replace
<client>with the name of your client:salt-key -a '<client>'