File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 # Avahi-daemon broadcasts the machine's hostname to local DNS.
2121 # So $id.local in this case
2222 sudo service avahi-daemon restart
23+ echo "*.* @@192.168.61.100:514" > /etc/rsyslog.d/51-remote.conf
2324 SCRIPT
2425end
Original file line number Diff line number Diff line change @@ -101,18 +101,6 @@ knife bootstrap "$node_name.local" \
101101 --sudo
102102set +x
103103
104- # The IP address detected by Chef is the VM's eth0 10.0.0.0 range address.
105- # However we need the 192 range address set on eth1.
106- echo_color " Updating the IP address stored on the Chef Server for the Deis Controller node..."
107- knife exec -E ' nodes.transform("name:deis-controller") { |n|
108- n.automatic_attrs["ipaddress"] = "192.168.61.100"
109- n.save
110- }'
111-
112- if [ $? -eq 0 ]; then
113- echo_color " IP address updated."
114- fi
115-
116104echo_color " Updating Django site object from 'example.com' to 'deis-controller'..."
117105vagrant ssh -c " sudo su deis -c \" psql deis -c \\\" \
118106 UPDATE django_site \
You can’t perform that action at this time.
0 commit comments