명령줄에서 클라이언트를 프록시에 등록

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.

절차: 명령줄을 사용해 클라이언트를 프록시에 등록
  1. 다음 위치에 있는 클라이언트 구성 파일을 선택합니다.

    /etc/salt/minion

    또는:

    /etc/salt/minion.d/NAME.conf

    이 파일을 종종 minion 파일이라고도 합니다.

  2. 다음과 같이 프록시 FQDN을 클라이언트 구성 파일에 master로 추가합니다.

    master: PROXY123.EXAMPLE.COM
  3. Restart the salt-minion service:

    systemctl restart salt-minion
  4. On the server, accept the new client key; replace <client> with the name of your client:

    salt-key -a '<client>'