From: Marius Gavrilescu Date: Fri, 23 Jan 2015 15:35:40 +0000 (+0200) Subject: Fix makevm X-Git-Tag: 5999.000_005~89 X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=e6b9e086a907a3bb99621f8549b28bf3f9c995fc;p=gruntmaster-daemon.git Fix makevm --- diff --git a/ex/makevm b/ex/makevm index 433370f..306b6cb 100755 --- a/ex/makevm +++ b/ex/makevm @@ -1,7 +1,6 @@ #!/bin/bash -[ `id -u` -eq 0 ] || echo 'This script must be run as root' && exit 1 rm -rf vm/ vm.squashfs -multistrap -f vm.conf +multistrap -f ex/vm.conf ln -s vm/usr/bin/mawk vm/bin/awk echo 'virtfs /mnt 9p trans=virtio,auto 0 0' > vm/etc/fstab echo '/sbin/poweroff -f' > vm/.bash_logout