cd /data/guests/
wget https://pub.nethence.com/bin/slack/slackstrap.bash.txt
mv -i slackstrap.bash.txt slackstrap.bash
chmod +x slackstrap.bash

vi /root/mirror.conf

mirror=YOUR-CLOSEST-MIRROR/slackware64-15.0/

cd /data/guests/$guest/
../slackstrap.bash lala/
#../slackstrap.bash lala/ full
#../slackstrap.bash lala/ hardware

# kvm-only
../slackstrap.bash lala/ kernel

# f2fs
source /root/mirror.conf
wget $mirror/slackware64/a/f2fs-tools-1.14.0-x86_64-3.txz
installpkg --terse --root lala/ f2fs-tools-*.txz

move the packages around for later use

mkdir ../slackpkgs/
mv -f *.txz ../slackpkgs/
rm -f FILE_LIST tagfile
du -sh lala/

# 358M btrfs@ocfs2
# 313M f2fs

if this is a REISER4 file-system, let the guest eventually fsck itself at boot time

    wget https://lab.nethence.com/slackpkgs/libaal-1.0.7-x86_64-2_SBo.tgz
    wget https://lab.nethence.com/slackpkgs/reiser4progs-1.2.2-x86_64-2_SBo.tgz

    installpkg --terse --root lala/ /root/slackpkgs/libaal-*_SBo.tgz
    installpkg --terse --root lala/ /root/slackpkgs/reiser4progs-*_SBo.tgz