Fix makevm
authorMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 15:35:40 +0000 (17:35 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Fri, 23 Jan 2015 15:35:40 +0000 (17:35 +0200)
ex/makevm

index 433370f..306b6cb 100755 (executable)
--- 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
This page took 0.024204 seconds and 4 git commands to generate.