File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,14 +17,6 @@ bear in mind that a local Chef Server VM will take up at least 1GB of RAM.
1717 * copy the admin.pem and validation.pem files for your own knife client
1818 `scp -r root@chefserver.local:/etc/chef-server/admin.pem [DEIS_DIR]/contrib/vagrant/knife-config/`
1919 `scp -r root@chefserver.local:/etc/chef-server/chef-validator.pem [DEIS_DIR]/contrib/vagrant/knife-config/`
20- * If you are on a OS X your should `vagrant ssh` into the chef server and set the hostname to `chefserver.local`.
21- Do this by running:
22-
23- ```
24- sudo hostname 'chefserver.local'
25- echo "chefserver.local" | sudo tee /etc/hostname
26- sudo chef-server-ctl reconfigure
27- ```
2820
2921 **Hosted Chef Server**
3022 * Goto https://getchef.opscode.com/signup and fill in your details.
Original file line number Diff line number Diff line change @@ -27,6 +27,8 @@ Vagrant.configure("2") do |config|
2727 sudo aptitude install avahi-daemon avahi-discover libnss-mdns -y
2828 sudo wget https://opscode-omnibus-packages.s3.amazonaws.com/ubuntu/12.04/x86_64/chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
2929 sudo dpkg -i chef-server_11.0.8-1.ubuntu.12.04_amd64.deb
30+ sudo hostname 'chefserver.local'
31+ echo "chefserver.local" | sudo tee /etc/hostname
3032 sudo chef-server-ctl reconfigure
3133 sudo chef-server-ctl test # Optional
3234 fi
You can’t perform that action at this time.
0 commit comments