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