Permalink
Browse files

Added -u flag

  • Loading branch information...
dysinger committed Jun 29, 2011
1 parent a9708c0 commit de534ea81009eae3ac48eb24d6aa385932cf2d1d
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# chef client
perl -p -i -e 's/localhost/172.16.172.16/g' /etc/chef/client.rb
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
if [ ! -f /etc/chef/client.pem ]; then
perl -p -i -e 's/localhost/172.16.172.16/g' /etc/chef/server.rb
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# knife
if [ ! -f /home/vagrant/.chef/knife.rb ]; then
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# knife rsync
rsync -vac /vagrant/.chef/ /home/vagrant/.chef/
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# upload
if [ -d /vagrant/cookbooks/ ]; then
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# ssh keygen
if [ ! -f /home/vagrant/.ssh/id_rsa ]; then
View
@@ -1,4 +1,4 @@
-#!/bin/bash -ex
+#!/bin/bash -eux
# ssh rsync
rsync -vac /vagrant/.ssh/ /home/vagrant/.ssh/

0 comments on commit de534ea

Please sign in to comment.