9f7f1dd315
Refactor boxes rake task Create common directory for common installation scripts Move Debian/Ubuntu common installation scripts
14 lines
297 B
Bash
Executable file
14 lines
297 B
Bash
Executable file
#!/bin/bash
|
|
|
|
cache=`readlink -f .`
|
|
rootfs="${cache}/rootfs"
|
|
|
|
echo "installing chef"
|
|
cat > $rootfs/tmp/install-chef.sh << EOF
|
|
#!/bin/sh
|
|
curl -L https://www.opscode.com/chef/install.sh -k | sudo bash
|
|
EOF
|
|
chmod +x $rootfs/tmp/install-chef.sh
|
|
chroot $rootfs /tmp/install-chef.sh
|
|
|
|
rm -rf $rootfs/tmp/*
|