Permalink
Browse files

adding additional debug to kxc-lucid-chef

  • Loading branch information...
1 parent 68d2139 commit 834ac779f91b4505d42b7b661119cb64a2508672 @korishev committed Nov 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 cookbooks/cucumber-chef/templates/default/lxc-lucid-chef
@@ -152,7 +152,7 @@ EOF
cp /etc/resolv.conf $image/etc/resolv.conf
cp /etc/lxc/install-chef.sh $image/tmp/install-chef.sh
chroot $image /bin/sh -c "/usr/bin/apt-get update && /usr/bin/apt-get --assume-yes --allow-unauthenticated install strace ruby1.9.1p180"
- chroot $image /bin/sh -c "/usr/local/bin/gem update --system; echo $?"
+ chroot $image /bin/sh -c "/usr/local/bin/gem --version ; /usr/local/bin/gem update --system ; /usr/local/bin/gem --version"
mkdir -p $image/$HOME
chroot $image /bin/sh -c "/usr/local/bin/gem install chef --no-ri --no-rdoc 2>&1" 2>&1 >> /tmp/data
return $?

0 comments on commit 834ac77

Please sign in to comment.