수요일, 5월 22, 2024
HomeLinuxubuntu chef WorkStation setup

ubuntu chef WorkStation setup

ubuntu chef WorkStation setup

1.Work Station의 셋업

admin@ip-10-2-2-200:~$ export EDITOR=vi
admin@ip-10-2-2-200:~$ knife client create workstation -a

admin@ip-10-2-2-200:~$ knife client list
chef-validator
chef-webui
workstation

2. client 설치전 환경화일 생성

admin@ip-10-2-2-200:~$  knife configure client /tmp
WARNING: No knife configuration file found
Creating client configuration
Writing client.rb
Writing validation.pem

3.client 설치전 환경화일 client copy

admin@ip-10-2-2-200:~$  ssh admin@10.2.2.20 mkdir /etc/chef
admin@ip-10-2-2-200:~$  sudo scp /tmp/client.rb admin@10.2.2.20:/etc/chef
admin@ip-10-2-2-200:~$  sudo scp /tmp/validation.pem admin@10.2.2.20:/etc/chef
RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Time limit exceeded. Please complete the captcha once again.

Most Popular